[elm-discuss] Re: Metalinguistic abstractions over databases

2016-11-04 Thread OvermindDL1
Ah, no, in fact I do not recall seeing that, it looks like it has had a lot of development recently so it appears that it might be newer than when I built my api pipeline. I've not had a pagination setup yet as the client requests the range of what they want for the one set of where a range is

[elm-discuss] Re: Metalinguistic abstractions over databases

2016-11-04 Thread Gavin Walsh
When you use Absinthe, do you use the relay https://github.com/absinthe-graphql/absinthe_relay module as well? Even though there's no elm equivalent to relay, the relay module helps with pagination it looks like.. or did you do something else for pagination? And are you using https://github.com

[elm-discuss] Best place to find elm devs?

2016-11-04 Thread aaronk
Hi there! I’m here to ask what's the best place to find Elm developers, ideally with test driven development background. Any ideas? Thanks! Aaron aar...@enfluid.com -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this gr

[elm-discuss] Re: Feldmans talk about impossible states

2016-11-04 Thread OvermindDL1
Ah yeah, as an example say you have a list of messages, a message being a record, if you add a new message to the 'end' of the list then every-single-message-list-cell will be recreated, although not the message records themselves, that is because Elm is functional and a List is a Cons List. I

[elm-discuss] Re: Feldmans talk about impossible states

2016-11-04 Thread Lars Jacobsson
Yeah but that was kind of my point though. In an app where 'something' (using your example) is the main piece of data, say a list of todos, then I wouldn't want the whole slice thrown away on every update? Not too familiar with the Elm core so I dont know where to look! -- You received this me

[elm-discuss] Re: Feldmans talk about impossible states

2016-11-04 Thread OvermindDL1
Everything inside it is still reused. Back to the struct if you do something like: ```elm { model | something = blah } ``` It is making a new model struct, but all the things in its keys other than 'something' are re-used. And actually something should be re-used too if `blah` is just `blah =

[elm-discuss] Embracing out messages

2016-11-04 Thread Mark Hamburg
A note on where I'm moving with respect to structuring code (since many have raised similar questions)... We don't have a particularly deep hierarchy but there are some fairly distinct levels around things like app state management — are we logged in? — and then view management while logged in. Ev

[elm-discuss] Re: Showing sub views dynamically

2016-11-04 Thread Samuel Müller
Thanks for the response. Adding a new Plugin is actually quite straight forward, it just requires some more boiler plate code, which is some what ugly, but as you say, also explicit. But what i dont like about my approach in particular is that i *know* that when there is an update to, say the

[elm-discuss] Feldmans talk about impossible states

2016-11-04 Thread Lars Jacobsson
I'm sure many of you have sen Richard Feldmans amazing talk on impossible states from Elm conf. In there he uses a Union Type for working with his data History = History = { current: Question , others: List Question } This essentially means every time we want to update something in the History

Re: [elm-discuss] Elm crypto libraries?

2016-11-04 Thread Halan Pinheiro
I did an experiment with js and pure functions to make an AES implementation. Maybe it can help. http://www.github.com/halan/aes-es6 I think that has some Haskell implementations of RSA (and AES) that you can take a look into to make something with Elm. -- You received this message because

[elm-discuss] Re: Showing sub views dynamically

2016-11-04 Thread OvermindDL1
I am unable to load https://guide.elm-lang.org/types/union_types.html due to a broken certificate chain error for the site (the certificate itself is fine, but its chain to the parents is broken), what is up? As for your question, it looks fine, but are you wondering about it not being more eas

[elm-discuss] Showing sub views dynamically

2016-11-04 Thread Samuel Müller
Hi All, i'm trying to build an application that is similar to the Widget Dashboard example from here: https://guide.elm-lang.org/types/union_types.html My specific usecase is this: i have a view which, depending on what the user has entered into a form, shows a specific "sub view". I call this

Re: [elm-discuss] elm-reactor or elm-live after completing "first steps"

2016-11-04 Thread Marcus Roberts
I use elm-live just for compiling the Elm into Javascript and serving me the page with the JS in it. For everything else I make HTTP calls to my "real" API server (with CORS configured appropriately).This is for a single page application (SPA) rather than something with multiple different page

[elm-discuss] elm-reactor or elm-live after completing "first steps"

2016-11-04 Thread Witold Szczerba
Hi there, I have a question about using elm-reactor, elm-live or similar things. I am creating a "login" application while learning Elm basics. The elm-live is helping me with first steps, so far I have a working form with JSON HTTP request. Now I am writing a backend server to handle the request.