Case in point - There is a website which lists 99 elm problems and the
first page has this snippet which it asks to copy paste in
http://elm-lang.org/try
import Html exposing (text)import Maybe
last : List a -> Maybe alast xs =
-- your implementation goes here
Nothing
main =
case last [ 1, 2, 3, 4 ] of
Just a ->
text (toString a)
Nothing ->
text "No element found"
I tried implementing the function in frolic. 1. I didn't need any view
layer to test that function out. 2. Was getting instant feedbacks on type
errors.
<https://lh3.googleusercontent.com/-ZGILP5NT3nM/V6qP6v4r-eI/AAAAAAAAT-I/NYzJe2raxv8_7lhFt8zYMJRBgw50XRzmwCLcB/s1600/Screen%2BShot%2B2016-08-10%2Bat%2B7.48.28%2BAM.png>
On Tuesday, August 9, 2016 at 11:52:51 PM UTC+5:30, Mukesh Soni wrote:
>
> I have been hacking on a desktop app for elm playground built on electron
> for the last 10 days. Right now it's kind of in a pre-alpha stage and needs
> two things - 1. user feedback 2. css + design love
>
> The idea behind the app is getting setup fast and trying out code and
> getting immediate feedback.
>
>
> <https://lh3.googleusercontent.com/-YmSBTuZ_XtU/V6ofOp9k3oI/AAAAAAAAT90/c4F7LEjAJ78GoUv9ULJdzE-MyHxtDDsUQCLcB/s1600/elm-rope-in-elm-playground.png>
>
> The code and instructions for setup for the app can be found here -
> https://github.com/mukeshsoni/frolic
>
> Feedback and PRs would both be appreciated :)
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.