We all love Elm, but when talking about it with people who know only JS,
are there any nice Simple Self Contained Correct Examples, of JS'
shortcomings and Elm's advantages.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from
I first started using Elm's recommended codec-ing scheme. I found that if I
needed to round-trip an entity to an API, I needed *4 representations* of
the same entity. One on the client and one on server is given. But then 1
encoder representation and 1 decoder representation... both of which
FYI I got Google Maps working based on Fred's calendar
repo: https://github.com/rtfeldman/elm-google-maps
--
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
I have a proof of concept of using the Polymer Google Maps element in
Elm: https://github.com/rtfeldman/elm-google-maps
I haven't really documented what I did terribly well, and I haven't used it
for a serious project, but seemed to work well...hope it's at least
somewhat helpful. :)
--
You
I did precisely the same style
in https://github.com/OvermindDL1/elm-jsphoenix too, to minimize the
duplication of work (which also increased by elm removing the ability to
extend record types into a new type, and lacking the ability to move Dict's
across, so those two things still add some,
I think Jamison Dance gives great concrete examples in his talk from React
Conf https://youtu.be/txxKx_I39a8?t=9m45s
As for JS's shortcomings... there is no shortage of those:
https://gist.github.com/MichalZalecki/c964192f830360ce6361
W dniu czwartek, 3 listopada 2016 10:23:29 UTC+1 użytkownik
I know I'm kind of late to the party here, but I was having this same
problem, so I wrote some code to log the error message:
traceDecoder : String -> JD.Decoder msg -> JD.Decoder msg
traceDecoder message decoder =
JD.value `JD.andThen` \value ->
case JD.decodeValue decoder value of
If you need to change it, what if you use a "style" element embedded in
your html? i.e.
import Html exposing (Html, node)
import Json.Encode exposing (string)
import Html.Attributes exposing (property)
{-| Return a `style` HTML tag, to be used for inline CSS styling
-}
style' : String -> Html
yea, that will do. Thank you.
On Fri, Nov 4, 2016 at 2:34 AM, Duane Johnson
wrote:
> If you need to change it, what if you use a "style" element embedded in
> your html? i.e.
>
>
> import Html exposing (Html, node)
> import Json.Encode exposing (string)
> import
This is pretty awesome.
Have you given the talk in Vienna?
Is this part of that talk? :)
On Thu, Nov 3, 2016 at 6:54 PM, Richard Feldman wrote:
> FYI I got Google Maps working based on Fred's calendar repo:
> https://github.com/rtfeldman/elm-google-maps
>
> --
>
Richard, multiple Polymer elements can be styled mostly by using native CSS
mixins (like
https://elements.polymer-project.org/elements/paper-dropdown-menu):
--paper-dropdown-menu-button A mixin that is applied to the internal menu
button {}
How to do that using your elm-css library?
Il giorno ven
11 matches
Mail list logo