You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
Running cabal v2 repl in terminal correctly loads other modules.
When opening the extension following message is shown:
These modules are needed for compilation but not listed in your .cabal file's other-modules:
OS.Linux.NixOS
/home/neo/Projects/haskell-editor-setup/src/Main.hs: 70, 56: error: • Couldn't match type ‘Action -> IO ()’
with ‘Language.Javascript.JSaddle.Types.JSContextRef’
Expected type: Sub Action
Actual type: Language.Javascript.JSaddle.Types.JSContextRef
-> JSM ()
• In the second argument of ‘($)’, namely ‘runJSM nixOsAtom’
In the expression: effectSub model $ runJSM nixOsAtom
In an equation for ‘updateModel’:
updateModel Install model = effectSub model $ runJSM nixOsAtom</div><div>/home/neo/Projects/haskell-editor-setup/src/Main.hs: 70, 63: error: • Couldn't match expected type ‘JSM ()’
with actual type ‘Sink action0 -> IO ()’
• Probable cause: ‘nixOsAtom’ is applied to too few arguments
In the first argument of ‘runJSM’, namely ‘nixOsAtom’
In the second argument of ‘($)’, namely ‘runJSM nixOsAtom’
In the expression: effectSub model $ runJSM nixOsAtom