Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Other modules are not loaded #71

Description

@freeman42x

Extension is set to use cabal-v2

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 -&gt; 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions