Re: [elm-discuss] Passing whole state to each view function

2017-07-21 Thread Raoul Duke
if passing the whole db, i wonder if i want something like structural types on the consuming apis to keep things more clear & safe & sane. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails fr

Re: [elm-discuss] Re: deprecating packages?

2017-07-06 Thread Raoul Duke
Thanks for the thoughtful response. Mostly just wanted to point out how confusing things can be, especially for peoplenot already inured to the ux issues. Since perhaps it impacts adoption. Should anybody be able to / care to do anything about it, I don't know. :) -- You received this message bec

Re: [elm-discuss] elm-format seems... problematic

2017-07-06 Thread Raoul Duke
Thanks for the inside scoop, ok. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.

[elm-discuss] elm-format seems... problematic

2017-07-05 Thread Raoul Duke
It might make mechanical ascii diffing easier, but it seems to destroy so many other valuable ux things along the way. like, small example that seems to me to be a giant red flag: it moves my comments around, so they aren't actually next to the thing they are commenting about?! -- You received t

[elm-discuss] more than 1d?

2017-07-05 Thread Raoul Duke
lists and List.map etc. are fine for 1d. what about 2+d? (wish we had list comprehensions.) -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr

Re: [elm-discuss] licensing?

2017-07-05 Thread Raoul Duke
oh ok! thanks. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optou

[elm-discuss] licensing?

2017-07-04 Thread Raoul Duke
i come across elm libraries that lack any LICENSE.md which means i can't use them at all and probably have to burn my eyes out of their sockets etc. to be on the safe side or something. i wish people would always include a (good, valid) license, even if it is just whatever the legal mumbo jumbo fo

Re: [elm-discuss] http://elm-lang.org/try should support saving

2017-07-04 Thread Raoul Duke
Thanks all. On Tue, Jul 4, 2017 at 5:15 PM, Witold Szczerba wrote: > Or maybe runelm.io > > 04.07.2017 4:16 AM "Eduardo Cuducos" napisaƂ(a): >> >> Hi Raoul, >> >> Have you tried Ellie? https://ellie-app.com/ >> >> ; ) >> >> >

[elm-discuss] transients?

2017-07-04 Thread Raoul Duke
I think something like Clojure's transients would be nice in other functional languages, including Elm. I believe there are times when loops and procedural stuff are actually the nicest way to encode things. https://clojure.org/reference/transients -- You received this message because you are su

[elm-discuss] http://elm-lang.org/try should support saving

2017-07-03 Thread Raoul Duke
hi, I have hit a syntax issue and was hoping to make a "paste" to be able to show to people what I am trying to do. But I don't see a way to save what I'm doing in the 'try' online repl. ? -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsu

Re: [elm-discuss] elm-package.json hierarchy?

2017-07-03 Thread Raoul Duke
thanks, cool. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout

[elm-discuss] elm-package.json hierarchy?

2017-07-03 Thread Raoul Duke
Is there very often a good reason to have more than one elm-package.json in a project's tree, outside of elm-stuff/? If not, it would perhaps be nice if elm-package warned me that I am trying to (accidentally, duh) install packages in a subdir of a project that already has a higher/top level elm-pa

[elm-discuss] Re: deprecating packages?

2017-07-03 Thread Raoul Duke
Apparently, looking on http://package.elm-lang.org/, elm-community/elm-linear-algebra "The following packages have not been updated for 0.18 yet!" Maybe the elm-package help text could say that, at least in this case it would seem to help be choose which one to use. Of course, if something with a v

[elm-discuss] deprecating packages?

2017-07-03 Thread Raoul Duke
The 1st and 3rd of these look awfully similar, thus confusing. Doing a quick google search didn't immediately make it obvious to me which to prefer, either. ``` Here are some packages that have similar names: elm-community/linear-algebra opensolid/linear-algebra elm-community/elm-lin

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
Thanks! I did do that. Did sorta get it working in emacs mode! But overall it didn't / doesn't seem to work so well, as I said -- wonky UX. Now hoping for something that really just works out of the box w/out any extra config at all? I.e. a real IDE where the errors are shown inline with red squigg

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
So I just tried elm-format in emacs elm-mode and it... wasn't such a good experience. Is there currently a best editor for Elm that is the most bullet proof / featureful? That doesn't require me to do all sorts of setup that might/not work? -- You received this message because you are subscribed

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
Thanks! Will do. (Dunno if it would be cool if the editor plugins had it built in already?) -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr..

[elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
hi, One use case I have in all programming systems is to auto reformat a whole file buffer (let alone a whole directory tree of code). I tried doing that in emacs elm-mode but it seems that it doesn't quite know enough to do what I am hoping for. Is there any emacs mode for elm that knows what

Re: [elm-discuss] Re: Design of Large Elm apps

2016-08-09 Thread Raoul Duke
Generate updates as commands, in structs. Add them to a list during the current frame. Current state remains immutable. At the end of the frame apply all commands to generate next world. Next step starts with new world, old one is discarded. Lather rinse repeat burmashave -- You received this

RE: [elm-discuss] An Evidence-Oriented Programming approach to designingElm

2016-07-08 Thread Raoul Duke
See ppig.org -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: [elm-discuss] Re: Why is ELM?

2016-06-09 Thread Raoul Duke
Too much complexity, both accidental and seemingly essential, to have something as literally simple as hammer & nail, but Elm is in a lineage / subculture of trying to greatly reduce the killing complexity we've had to date. http://www.paulgraham.com/avg.html https://duckduckgo.com/?q=urweb+progr