Tag: Elm
My blog posts about learning Elm. I am not doing any kind of pedagogical tutorial here. What I do is explore, and then try to explain. https://www.elmcraft.org/ https://elmprogramming.com/
-
Learning Elm: fourth try with the LLM layout tests
Testing to see how the models do writing Elm code. Fourth try. I had Thaura read my AGENTS file, and critique it. I made the suggested changed, and also added more advice. Then, I started a fresh session and had it reorganize it. Here it is as a download (I had trouble pasting it here).…
-
Learning Elm: trying different LLMs to make a layout attempt 3
Testing to see how the models do writing Elm code. Third try. AGENTS.md was edited to address a lot of bugs and problems from the second run. Also added a directory for more extensive coding advice. You can find it in the ZIP file. The file is now 61 lines long. Scoreboard I used the…
-
Learning Elm: trying different LLMs to make a layout attempt 2
Testing to see how the models do writing Elm code. I got rid of some requirements, and tried to fix up the AGENTS.md to overcome some problems some models had, and also add references it could study. Scoreboard I used the Free versions in OpenCode. The number scores are about how good the layout looks.…
-
Learning Elm: trying different LLMs to make a layout with minimal interactivity
Testing to see how the models do writing Elm code. The goal was to produce a simple web page layout for a news site. To confound things, I said to use the media query to detect if the environment is in dark mode. To make things more “normal”, I added one control to toggle “dark…
-
Learning Elm: LLMs
I’ve been messing with some LLMs to write Elm code. So far, so-so. I haven’t done a thorough test, mainly because I’m still learning Elm, but some LLMs seem to do great with Elm code, and some seem to run endless loops of debugging failures. I’ve been playing with Nemotron, Muse Spark, MiMo, and Thaura…
-
Learning Elm: pipe tricks
https://github.com/elm/compiler/tree/main/hints I found much of the content for this article at: https://sporto.gitbooks.io/elm-tutorial/content/en/01-foundations/02-functions.html Here’s now to create a learning environment where you can edit a file full of Elm code, and play with the code. Add the “.” directory to elm.json. This will tell Elm to search for modules in there: Next up, make the file…
-
Learning Elm
I was having a hard time with the main tutorial, so I’m winding a different path through the language. 8/29: After doing the basics, I started hitting walls, and found the tutorial going all over the place, so I decided to dig through the Elm core libraries, and just try running commands: https://package.elm-lang.org/packages/elm/core/latest/ Typing things…