[elm-discuss] Elm Visual Debugger/IDE Idea

2016-12-06 Thread Will White
Hi Conner. I'm interested in working on the debugger in this way, for starters: https://github.com/elm-lang/elm-make/issues/138 Having a great visualisation of what's going on could come after, and by then I'd like to help with it, but it might be just fine as it is. Would you like to help

Re: [elm-discuss] Re: Stance on native APIs for 0.18?

2016-12-06 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, December 6, 2016 at 7:32:49 PM UTC, Rupert Smith wrote: > > On Tuesday, December 6, 2016 at 5:18:04 PM UTC, Wil C wrote: >> >> So now, either I write a ports for commonmark.js, or I write it as a >> native module. I asked about it here >>

[elm-discuss] Hiring An Elm Developer at BigSquid

2016-12-06 Thread Michael Whitehead
We are looking to add an elm developer to our team. This is a position that will involve leading other junior front end developers, so we would prefer someone who is a strong Elm developer. However, if you are skilled at design, and can help guide those who are less artistic, then that will

Re: [elm-discuss] Using Elm with JSON when you do not know the names and types of the properties at compile time

2016-12-06 Thread Nick H
What sorts of widgets are we talking about? If you know what sorts of widgets you are displaying, then you should also know what types of data they need. If this is true, then you could decode your JSON to simple "Dict String Json.Value". Then your widgets will have more fine-grained decoders

Re: [elm-discuss] Why not components?

2016-12-06 Thread Wouter In t Velt
Thanks for solving this mystery for us David. It probably is sensible to avoid anyway: if someMaybe == ... then And use case someMaybe of (Or .map) instead. Gives us more protection from the compiler to get all branches covered... -- You received this message because you are

Re: [elm-discuss] Why not components?

2016-12-06 Thread David Andrews
They have equality but not comparison. They can't be used as a Dict key, for instance. On Dec 5, 2016 5:39 PM, "Peter Damoc" wrote: > This is weird. > For some reason I got it into my head that tags are not comparable. > Now I can't remember when or why. > > The code seams to

[elm-discuss] Using Elm with JSON when you do not know the names and types of the properties at compile time

2016-12-06 Thread Hans Rune Bergheim
Hi! I'd like to create a simple dashboard in Elm, that displays some graphs and numbers from json-data. The dashboard should be fully configurable, meaning that the users should have a config-file saying they would like to get data from service foo, and want to display widget a, b and c,

Re: [elm-discuss] Re: Stance on native APIs for 0.18?

2016-12-06 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, December 6, 2016 at 5:18:04 PM UTC, Wil C wrote: > > So now, either I write a ports for commonmark.js, or I write it as a > native module. I asked about it here > with no > answers. > I think if you write it as

[elm-discuss] width of message history in debugger

2016-12-06 Thread Wil C
Is there a way to expand the width of the message history pane in the debugger? I can't seem to see my entire message, since the pane doesn't appear to be resizable. Wil -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this

Re: [elm-discuss] Re: Stance on native APIs for 0.18?

2016-12-06 Thread Wil C
I'm building a document editor with executable code in it. So far, I have SQL embedded in Markdown. For markdown, I needed flexibility in changing the output from the standard HTML output, like adding extra info around a code block. I looked at elm-markdown, and found it didn't have this

[elm-discuss] Re: Elm Visual Debugger/IDE Idea

2016-12-06 Thread Conner Ruhl
I'm mainly trying to see if people would find this useful or potentially fun to work on :) On Tuesday, December 6, 2016 at 10:42:41 AM UTC-6, Conner Ruhl wrote: > > Hello! > > Recently I've been thinking a lot about the debugger... The potential for > time travel and replaying program state

[elm-discuss] Re: One month with Elm, two questions

2016-12-06 Thread Max Goldstein
Oops, that second annotation should be viewHelper : { a | name : String } -> Html Msg -- 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] Elm Visual Debugger/IDE Idea

2016-12-06 Thread Conner Ruhl
Hello! Recently I've been thinking a lot about the debugger... The potential for time travel and replaying program state across browsers is absolutely massive. It's been the most sellable quality of Elm in my experience. I've been on the hunt for an open source project and I'm considering

Re: [elm-discuss] What ways are there of running Elm server side?

2016-12-06 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, December 6, 2016 at 10:43:07 AM UTC, Rupert Smith wrote: > > Will go with the port for now. > There is something slightly annoying about the port, and that is that processing the Cmd to call the port happens through setTimeout(function, millis). This needs polyfilled on Nashorn, and

[elm-discuss] Re: One month with Elm, two questions

2016-12-06 Thread Max Goldstein
I see now. You want to see a UI widget in many possible states for the purposes of seeing a visual regression. (By "widget", I mean some piece of HTML generated by a function, not the loaded word "component", which usually implies state. Although it could be either.) Without saying too much, I

[elm-discuss] Re: Error Repository?

2016-12-06 Thread Luke Westby
Can you (a) see if your issue has been reported and (b) if not, submit a new issue at https://github.com/elm-lang/error-message-catalog? On Tuesday, December 6, 2016 at 6:40:39 AM UTC-6, John Orford wrote: > > Where do I send an, as a suggestion to improve the error message output? > > I

[elm-discuss] Re: Error Repository?

2016-12-06 Thread OvermindDL1
https://github.com/elm-lang/error-message-catalog is the place to report needing better error messages. It is generally best to talk about it here first. When reporting there be sure it does not already exist in another issue (even if closed one as issues can be aggregated together). On

[elm-discuss] elm-doc-test syntax

2016-12-06 Thread Christoph Hermann
Hey! I'm currently working on elm-doc-test https://github.com/stoeffel/elm-doc-test. Elm-doc-test is a tool that turns doctests (like python's doctest) into elm-tests and you can then run them using elm-test. There are some advantages with this approach, like nice assertion messages and

[elm-discuss] Error Repository?

2016-12-06 Thread John Orford
Where do I send an, as a suggestion to improve the error message output? I accidentally swapped the inputs of a fold lambda, e.g. foldr (\ a c -> ... ) instead of foldr (\ c a -> ... ) which started complaining about infinite types etc, rather than(in this context at least) nudge me towards

[elm-discuss] Re: One month with Elm, two questions

2016-12-06 Thread Frankie Sardo
Thanks for your answer Max, When I think about using fuzzers outside elm-test one of the use cases I have in mind is something à la devcards https://github.com/bhauman/devcards If you don't know about it it's a very useful tools used by the clojurescript community to mount a UI using different

Re: [elm-discuss] What ways are there of running Elm server side?

2016-12-06 Thread 'Rupert Smith' via Elm Discuss
On Wednesday, November 23, 2016 at 9:35:21 PM UTC, Noah Hall wrote: > > You'll need to set up a port to pull the generated string out, but > it's trivial bit of work to do with the elm-server-side-renderer > project. Just take a look at how something like elm-test pulls values > out through a