My thoughts:
If you're dealing with Maybes from List.head and List.tail, you should be
doing pattern matching on [] and x::xs instead.
Working with Maybes doesn't have to be done painfully. You can get a lot of
leverage with Maybe.map and similar functions. This allows you to write
code *as
Discourse is what the meteorjs community went to after losing the spam war on
google groups. https://forums.meteor.com
After the move, we've had very few issues with spam. It's got a nice interface
and comes with a good set of features you'd expect from a forum site.
--
You received this
I don't think the comparison to C is accurate at all. Error codes in C are
a programming convention. As far as the compiler is concerned, all ints are
created equal. Nothing is reminding the programmer to check for error codes.
On Wed, Sep 7, 2016 at 1:00 PM, Joey Eremondi
The worst offender for runtime errors right now, in my mind, is this:
myTest = (\x -> x) == (\y -> y)
This crashes and prints a message to the console. But this has been
discussed at length.
On Wed, Sep 7, 2016 at 12:54 PM, Charlie Koster wrote:
> Having said all of that,
Your description of Maybe isn't correct. When a function returns a Maybe
it's not throwing an exception. Maybe is a separate type (like String) so
when a function returns a Maybe String that is the type of the returned
value. It's saying the returned value is one of two things. It's a Nothing,
Hello,
I recently updated my library to utilize Evan's new guidelines from
elm-sortable-table.
Can you guys take a look and give me some feedback on it?
https://github.com/doodledood/elm-split-pane
Thanks
--
You received this message because you are subscribed to the Google Groups "Elm
Dear James
Thanks, that is very helpful. Thanks both.
Before today I had the impression it might not be possible at all.
>From both of your help, I'll try and put together (& publish) something
that is just bare Elm, with a html where you can draggingly re-order
the s.
Best wishes
Ivan
For those use cases, it's common to build a pyramid of some sort from the
original image(s). What that means is that you have the image the image as
seem from different zoom levels in a format/organization that allows you
load just enough data to show what you need. Loading a 20.000x20.000 image
So, a more nuanced statement would be "Elm has no unchecked runtime
exceptions".
We use Maybe and Result in place of Null and Exceptions. But the key is
that the type system *forces* you to catch these. There's no (fromMaybe :
Maybe a -> a) function, like there is in Haskell.
What's also
One of Elm’s most interesting features is "No Runtime Exceptions".
But I would argue that Elm does in fact have Runtime Exceptions, even if
you don't call it that. I explain my reasoning in this blog post:
https://medium.com/@daveford/my-take-on-elm-runtime-exceptions-b3c5156887c9#.p1mrtcr2m
Hi, everyone! Posted this on /r/elm and someone kindly suggested posting
here, too.
We're hiring a product engineer to help design and develop our dashboard
product: https://permutive.workable.com/jobs/331441.
We have a release in production that some of our team have ad-hoc
contributed to.
Updating node fixed it, thanks.
Now I need to work out how to serve on 0.0.0.0 instead of localhost ...
Will report back once everything's up.
Ivan
On Wednesday, September 7, 2016 at 2:17:37 PM UTC+1, Sergey Skrynnikov
wrote:
>
> Sorry for not linking this, you should be able to join the team
Thanks! How do I use canvas from elm? Is there a canvas elm example
somewhere?
On Wednesday, September 7, 2016 at 3:03:59 PM UTC+2, Charlie Koster wrote:
>
> The first thing I'll mention is writing your own map application is a huge
> undertaking. But it doesn't hurt to try with Elm :)
>
> Have
I appear to be running v0.10.25 (on an ubuntu vm).
I'll update and try again, and join the slack team if that doesn't fix it.
Thanks
Ivan
On Wednesday, September 7, 2016 at 2:17:37 PM UTC+1, Sergey Skrynnikov
wrote:
>
> Sorry for not linking this, you should be able to join the team here
>
Sorry for not linking this, you should be able to join the team here
http://elmlang.herokuapp.com/
As a first guess - updating your node.js version could help (I just tried
installing everything from scratch and it worked on node 5.0.0 for me)
среда, 7 сентября 2016 г., 16:12:17 UTC+3
I don't think I can, no, I'm not "currently associated with that team".
Ivan
On Wednesday, September 7, 2016 at 2:04:20 PM UTC+1, Sergey Skrynnikov
wrote:
>
> Interesting, I'll look into it. Could you contact me on the elm slack (
> https://elmlang.slack.com)? (i'm @sergey.skrynnikov)
>
>
Dear Sergey
I get errors if I run this with npm (I can run with the reactor but there's
no styling, and dnd doesn't happen). Sample of top errors below. What am
I missing? (I have no experience with webpack or npm).
[1] ERROR in ./src/Main.elm
[1] Module build failed: TypeError: Object
Dear Sergey
Thanks very much! I'll try it out.
Best wishes
Ivan
On Wednesday, September 7, 2016 at 1:42:11 PM UTC+1, Sergey Skrynnikov
wrote:
>
> I've made a table with drag/drop reordering of rows with a bit of a
> different approach, it gets the row positions through a port so that in can
I've made a table with drag/drop reordering of rows with a bit of a
different approach, it gets the row positions through a port so that in can
calculate the drop target based on the mouse position.
https://github.com/IwalkAlone/elephant-guide/ - main logic in
src/components/deck/update.elm
Cool! Thanks very much!
Would I be able to run the client on its own, without the server (I'll try
anyway)?
Best wishes
Ivan
On Wednesday, September 7, 2016 at 1:09:06 PM UTC+1, James Wilson wrote:
>
> I have actually just added DnD to my own Elm app. See
>
>
Dear All
I have a couple of GUIs I'd like to write in Elm. One is done and working
well. The other is
currently written (by me) with React and included a drag-and-drop sortable
list (i.e., list items
can be dragged to new positions in the list).
What is the current status of drag-and-drop in
I have been playing with the elm-lang/dom library, more specifically with
the Dom.focus.
So far I have wired it up in my app the following way
focusElementCommand =
case invalidFieldId of
Just id ->
I am new to elm and I want to write a simple application, where the user
interacts with a map. The map is a huge image (like 2 x 2 pixel)
and I would like to zoom and navigate it. Also later it would be nice to
add interactions like popups when clicking on some special locations etc.
I
On Tuesday, September 6, 2016 at 4:51:41 PM UTC+1, Joey Eremondi wrote:
>
> Whatever Rust is using looks pretty slick. https://users.rust-lang.org/
>
Is that NodeBB?
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this
If you click the "Fancy Search" link at the top of the right sidebar
on http://package.elm-lang.org/ you can search by type signature!
--
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
25 matches
Mail list logo