Releases: sharkdp/purescript-flare
Releases · sharkdp/purescript-flare
v0.4.3
v0.4.2
v0.4.1
v0.4.0
- The signature of
button
has changed. It now takes two values of typea
as arguments and yields a value of typea
:
button :: forall a e. Label -> a -> a -> UI e a
The first is the default value if the button is not pressed and the second one is yielded when the button is pressed. The updated Example 13 shows a nice use case.
- The new function
liftSF :: forall e a b. (Signal a -> Signal b) -> UI e a -> UI e b
can be used to lift functions from Signals to Flares, see Example 16.
v0.3.0
runFlare
now expects theUI
to contain aString
instead of(Show a) -> a
(@hdgarrood)- Similarly,
select
,radioGroup
,buttons
now expect a customtoString
function runFlareShow
can be used for testing/debugging (analogous to the previousrunFlare
).- A new component
buttons
allows to add several buttons at once (returning a single output)
v0.2.1
- Updated docs
- Updated and new examples
- Update build command (@Softsapiens)
v0.2.0
v0.1.7
- The returned values from
int
,intRange
andnumberRange
are now guaranteed to lie within the corresponding range - Added
runFlareWith
for custom effectful UIs - Added
runFlareS
for string output - All child elements are cleared before the Flare UI is attached to a parent element
- Updated dependencies