Hmm - so I'm in try-reflexnix-shell and I'm trying to compile purescript with cabal.config set up to snapshot it normally uses with stack, and I'm getting this curious error:
Data/Conduit/Attoparsec.hs:108:19: error:
* The constructor `TI.Text' should have 1 argument, but has been given 3
* In the pattern: TI.Text arr1 off1 len1
In an equation for `stripFromEnd':
stripFromEnd (TI.Text arr1 off1 len1) (TI.Text _ _ len2)
= TI.text arr1 off1 (len1 - len2)
In the instance declaration for `AttoparsecInput TI.Text'
|
108 | stripFromEnd (TI.Text arr1 off1 len1) (TI.Text _ _ len2) =
|
Is there some (prebuilt) recent GHCJS package available through Nix?
I assume mine might come from the reflex cache, if it's not in main
reflex-platform
Hmm - so I'm in
try-reflex
nix-shell
and I'm trying to compilepurescript
withcabal.config
set up to snapshot it normally uses withstack
, and I'm getting this curious error:I'm yet to find version of
Data.Text.Internal
which exposesText
constructor with one argument... (it seems to use 1.2.3.0)Oooooh - isn't GHCJS using patched version of
text
? :sweat_smile:It is - and patching
conduit-extra
solved the problem :big_smile:You are compiling purescript in ghcjs? To provide in browser compiler?
Yeah :big_smile:
Though CLI in console without filesystem is not very useful, so I'll need to put together some simple UI :big_smile: