[elm-discuss] Re: Sort a list of strings independant of case

2016-09-11 Thread Sergey Zubtsovskiy
erent than using List.map > > On Sat, Sep 10, 2016 at 1:00 PM, Sergey Zubtsovskiy < > sergey.zubtsovs...@gmail.com> wrote: > >> Well, I meant that elements from original list will stay intact. If you >> are first applying List.map toUppercase and then sort, resulti

Re: [elm-discuss] Re: Sort a list of strings independant of case

2016-09-10 Thread Sergey Zubtsovskiy
gt; topic/elm-discuss/IwSIlRUoNFw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > elm-discuss+unsubscr...@googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- Sergey Zubtsovskiy sergey.zubtsovs...@gmail.c

[elm-discuss] Re: Sort a list of strings independant of case

2016-09-10 Thread Sergey Zubtsovskiy
This is a solution not changing original list: import Html exposing (text) import String exposing (toUpper) main = text (toString sortedList) sortedList : List String sortedList = [ "c", "B" , "a" ] |> List.sortWith compareIgnoreCase compareIgnoreCase : String -> String -> Order compar

Re: [elm-discuss] Re: Debugging json decoders

2016-08-20 Thread Sergey Zubtsovskiy
Thank you for explanation! I should give it a try. Sergey Zubtsovskiy sergey.zubtsovs...@gmail.com Skype: szubtsovskiy 2016-08-19 23:06 GMT+02:00 OvermindDL1 : > Given this: > ```elm > onScroll tagger = > on "scroll" (Json.Decode.map tagger decodeScrollPosition) > `

Re: [elm-discuss] Re: Debugging json decoders

2016-08-19 Thread Sergey Zubtsovskiy
oes not fit to the whole impression Elm's trying to create. And I am a bit confused. Sergey Zubtsovskiy sergey.zubtsovs...@gmail.com Skype: szubtsovskiy 2016-08-19 21:31 GMT+02:00 Simon : > > My emulator may help - http://simonh1000.github.io/decoder/ > > > On Friday, 19

[elm-discuss] Re: Debugging json decoders

2016-08-19 Thread Sergey Zubtsovskiy
Hey Jacob, Any update on this topic? I am facing the same issue, even in Elm 0.17 with latest libraries... On Tuesday, November 3, 2015 at 11:16:53 PM UTC+1, Jacob Matthews wrote: > > > I've been playing with Elm recently. I really like it in general, but I > have had some pretty frustrating ex