[elm-discuss] Re: Status update and multiple application servers

2017-06-09 Thread Matt Hughes
Hi, Elm programs are compiled to JavaScript and run in the browser, not on the server. Elm provides libraries for using HTTP and WebSockets to exchange information with a server. Elm is just the programming language, so load balancing, application servers, and so on are out of scope for this

Re: [elm-discuss] Add css classes to existing html nodes

2017-06-09 Thread eike . kettner
Hello Peter, thank you very much for your reply and example! I think option 2 doesn't work for me, because I render user input and using “real” html in markdown would defeat the purpose of creating tables with markdown. I also think, the first option is sadly not working for me either. I'm

Re: [elm-discuss] Is it possible to write a general tree-fold function?

2017-06-09 Thread Max Goldstein
I will add that you are using z when you define _l and _r but you only need to use it once. Also, a good test case is to write an in-order traversal on a binary search tree that will return the keys in sorted order. -- You received this message because you are subscribed to the Google

Re: [elm-discuss] explain how Task works

2017-06-09 Thread Peter Damoc
Process.sleep time is creating a Task that will be running for the duration of the time and then produce an empty tuple. Task.andThen is taking this produced task and after it finishes it calls the provided function (always <| Task.succeed msg) (always <| Task.succeed msg) is equivalent to (\_

Re: [elm-discuss] What is the Elm equivalent of a Data Specification Language (EDN in Closure, ADTs, etc)?

2017-06-09 Thread Peter Damoc
Hi Gaurav and welcome to Elm! Your intuition is correct, you should emphasize understanding the basic data structures and build something with them. If you have a concrete problem you are trying to solve you will be focusing on finding the solution. Without a concrete problem is tempting to go