Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
purescript-refract
Optical Purescript UI library based on React and the Elm architecture, but without the boilerplate.
For what it's worth, I've tried creating a new project with stack new shpadoinkle-test, copy-pasting the code from the simple calculator example into Lib.hs, adding the necessary packages to build-depends in the .cabal file and adding the package dependencies to extra-deps in stack.yaml as suggested by stack. But my stack build eventually failed with:
There are a bunch of solutions for inter widget communication. Have you looked at wire for example? https://github.com/purescript-concur/purescript-concur-core/blob/master/src/Concur/Core/Patterns.purs#L117. Seems like it's exactly what you would want. Usage example here - https://github.com/purescript-concur/purescript-concur-react/blob/master/examples/src/Test/Wire.purs.
There are a bunch of solutions for inter widget communication. Have you looked at wire for example? https://github.com/purescript-concur/purescript-concur-core/blob/master/src/Concur/Core/Patterns.purs#L117. Seems like it's exactly what you would want. Usage example here - https://github.com/purescript-concur/purescript-concur-react/blob/master/examples/src/Test/Wire.purs.
I've worked on something similar for Purescript (https://github.com/pkamenarsky/purescript-refract) and recently also Haskell (https://github.com/pkamenarsky/refract-replica, no docs yet but the API comes very close to the Purescript version).
I've worked on something similar for Purescript (https://github.com/pkamenarsky/purescript-refract) and recently also Haskell (https://github.com/pkamenarsky/refract-replica, no docs yet but the API comes very close to the Purescript version).
Another good solution is having orr return the remaining widgets. I know you suggested this in the past, and I did some work on it recently as a part of a rewrite of Concur - https://github.com/ajnsit/purescript-concur-streaming-poc. This is just a POC but seems to be going well so far. It also gets rid of Aff and Free monadic dependencies.