« first day  last day (14 days later) » 

8:28 AM
OK, trying it out on my computer. I'm learning FRP and Reactive Banana anyway so it's a good exercise
btw are you using GHC 7.8 or 7.10?
 
7.8
 
 
4 hours later…
12:17 PM
are you sure the .hs file you pastebinned is syntactically correct? indent and everything
also, initialState isn't defined... and the "(doSomeTransformation to combine with myRemoteValue)" bit is obviously not valid Haskell
even if I fix those, I'm still getting compile errors
 
check on stackoverflow, I have made some little changes in it
and yes might be not well formatted
i have not compiler here and I am trying to make fpcomplete able to compile that cabal file
 
12:49 PM
painful to compile it on macosx isn't :)
 
it's not related to Mac OS X; I've already solved any platform related build issues via stack and manual adjustments. it's just that you've posted code with broken indent and pseudo-code left it.
left in*
I've now managed to get the app to run though, and after making the transform function do an increment on the counter, I have a working UI that increments the counter when the button's pressed
but where does the API call come into play?
 
oh, that code is just a snippet for brevity. I was trying to migrate my toy-project to FRP. I put a not compiling branch on github. On stackoverflow the API call is the "return 5". It is just an IO function.
this is the real not compiling project (at the moment):
 

« first day  last day (14 days later) »