Skip to main content
0 votes
0 answers
53 views

I am currently developing elm projects with VS Code, and I notice a delayed configuration of VS Code. For example, in module A, I import module B, but later I call B.xxx, and it prompts me that ...
alexis's user avatar
  • 13
0 votes
1 answer
53 views

So I'm doing a bit of tweaking with elm to become familiar with it, but when trying to make functions for handling the different views of the application, there's a rounte that doesn't work and I can'...
m00nsh1n3's user avatar
1 vote
1 answer
101 views

Disclaimer: I asked the same question on reddit (link) I'm rewriting a Haskell app (used by my students) in Elm to train myself in the language and enable deployment as a static web app for simpler ...
D.F.F's user avatar
  • 981
1 vote
1 answer
90 views

As far as I understand Cmd.OfAsyn.perform has three inputs: Cmd.OfAsync.perform asyncFunction // The async function to perform input // Input to the async function ...
Alex_P's user avatar
  • 3,042
1 vote
1 answer
179 views

I've started with Elm and want to get images from Trefle API when searched for plant but I keep getting the "Could not fetch image" error. I do use my own access token but I replaced it here ...
lani2000's user avatar
3 votes
1 answer
77 views

A function f: A -> Maybe B. is given. Then a function isProper : A -> Bool can be defined by isProper a = case f a of Just _ -> True Nothing -> ...
float 's user avatar
  • 33
2 votes
1 answer
66 views

Given a list of functions that transform a value, what is the most idiomatic way to apply them? Example: let transformations = [ String.replace "dogs" "cats" ...
sba's user avatar
  • 2,187
2 votes
1 answer
71 views

I've got a view with thousands of items to display. How do I encourage Elm to utilize something more optimized for list of items like document fragment rather than appendChild?
Daniel Birowsky Popeski's user avatar
2 votes
1 answer
110 views

I have a SPA written with Elm and styled with CSS. When the view changes, a different render function will be called to render the new view. This will also stop rendering the "old" view. The ...
TBatist's user avatar
  • 183
3 votes
1 answer
122 views

I have a problem regarding my Elm project. I have this function here, but I have a problem at interval.start and interval.end yielding the error "This is not a record, so it has no fields to ...
Cornel's user avatar
  • 79
1 vote
2 answers
119 views

I have <object data="${content}" type="image/svg+xml" ></object> Where content is a svg. Currently I am trying to figure this on elm. object [ Attr....
user21112580's user avatar
2 votes
1 answer
64 views

I'm just getting started with WebAudio in Elm, using hayleigh-dot-dev/elm-web-audio/1.1.1. I got the setup right, have sound, and things seems to work as intended. However, when I started using ...
bcegkmqsw's user avatar
1 vote
1 answer
130 views

I want to trigger a Browser dialog when the user is about to close the tab or navigate from the current page. I cant find an equivalent "Window: beforeunload event" in elm. The Browser....
Bond007's user avatar
  • 37
2 votes
1 answer
90 views

Consider this recursive type definition: type NestedList a = Elem a | SubList (List (NestedList a)) How can I write a decoder in order to decode a JSON list (e.g [1, [[2, [3, 4]], 5], 6, [7, ...
Robert L's user avatar
  • 169
0 votes
1 answer
55 views

I started using the dillonkearns/elm-form library in elm. It works well. Is it possible to create a dropdown where you can select multiple options using this library? Thanks. I tried modifying the ...
Bond007's user avatar
  • 37

15 30 50 per page
1
2 3 4 5
127