louispan / ghcjs-base-stub Goto Github PK
View Code? Open in Web Editor NEWAllow GHCJS projects to compile under GHC and develop using intero
License: BSD 3-Clause "New" or "Revised" License
Allow GHCJS projects to compile under GHC and develop using intero
License: BSD 3-Clause "New" or "Revised" License
I am sorry, but can you add some basic example of how to be able to use Intero's error highlighting (I use vs code with haskero plugin) or help me to figure it out? I just can't figure it out, how for example can I make a hello world reflex project with the error highlighting using intero and this package which claims to make someone to be able to use intero for developing GHCJS project
ghcjs-base-stub > Building library for ghcjs-base-stub-0.3.0.2..
ghcjs-base-stub > [ 1 of 29] Compiling Data.JSString.Internal.Fusion.CaseMapping
ghcjs-base-stub > [ 2 of 29] Compiling Data.JSString.Internal.Fusion.Common
ghcjs-base-stub > [ 3 of 29] Compiling Data.JSString.Internal.Fusion.Types
ghcjs-base-stub > [ 4 of 29] Compiling Data.JSString.Internal.Search
ghcjs-base-stub > [ 5 of 29] Compiling GHCJS.Prim
ghcjs-base-stub > [ 6 of 29] Compiling GHCJS.Internal.Types
ghcjs-base-stub > [ 7 of 29] Compiling GHCJS.Concurrent
ghcjs-base-stub > [ 8 of 29] Compiling Data.JSString.Internal.Type
ghcjs-base-stub > [ 9 of 29] Compiling Data.JSString.Text
ghcjs-base-stub > [10 of 29] Compiling Data.JSString.Internal.Fusion
ghcjs-base-stub > [11 of 29] Compiling Data.JSString
ghcjs-base-stub > [12 of 29] Compiling GHCJS.Types
ghcjs-base-stub > [13 of 29] Compiling GHCJS.Foreign.Internal
ghcjs-base-stub > [14 of 29] Compiling GHCJS.Foreign.Export
ghcjs-base-stub > [15 of 29] Compiling GHCJS.Foreign.Callback.Internal
ghcjs-base-stub > [16 of 29] Compiling GHCJS.Foreign.Callback
ghcjs-base-stub > [17 of 29] Compiling GHCJS.Foreign
ghcjs-base-stub > [18 of 29] Compiling JavaScript.Array.Internal
ghcjs-base-stub > [19 of 29] Compiling JavaScript.Array
ghcjs-base-stub > [20 of 29] Compiling JavaScript.Cast
ghcjs-base-stub > [21 of 29] Compiling JavaScript.Object.Internal
ghcjs-base-stub > [22 of 29] Compiling JavaScript.Object
ghcjs-base-stub >
ghcjs-base-stub > /tmp/stack-71a3f8fe3d9f7ff2/ghcjs-base-stub-0.3.0.2/src/JavaScript/Object.hs:11:1: warning: [-Wunused-imports]
ghcjs-base-stub > The import of ‘JavaScript.Object.Internal’ is redundant
ghcjs-base-stub > except perhaps to import instances from ‘JavaScript.Object.Internal’
ghcjs-base-stub > To import instances alone, use: import JavaScript.Object.Internal()
ghcjs-base-stub > |
ghcjs-base-stub > 11 | import JavaScript.Object.Internal (Object(..))
ghcjs-base-stub > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ghcjs-base-stub > [23 of 29] Compiling GHCJS.Marshal.Internal
ghcjs-base-stub > [24 of 29] Compiling GHCJS.Marshal.Pure
ghcjs-base-stub >
ghcjs-base-stub > /tmp/stack-71a3f8fe3d9f7ff2/ghcjs-base-stub-0.3.0.2/src/GHCJS/Marshal/Pure.hs:26:52: warning: [-Wunused-imports]
ghcjs-base-stub > The import of ‘Word’ from module ‘Data.Word’ is redundant
ghcjs-base-stub > |
ghcjs-base-stub > 26 | import Data.Word (Word8, Word16, Word32, Word)
ghcjs-base-stub > | ^^^^
ghcjs-base-stub > [25 of 29] Compiling GHCJS.Nullable
ghcjs-base-stub > [26 of 29] Compiling GHCJS.Marshal
ghcjs-base-stub >
ghcjs-base-stub > /tmp/stack-71a3f8fe3d9f7ff2/ghcjs-base-stub-0.3.0.2/src/GHCJS/Marshal.hs:157:40: error:
ghcjs-base-stub > • Couldn't match type: H.HashMap Text v0
ghcjs-base-stub > with: Data.Aeson.KeyMap.KeyMap AE.Value
ghcjs-base-stub > Expected: AE.Object
ghcjs-base-stub > Actual: H.HashMap Text v0
ghcjs-base-stub > • In the first argument of ‘AE.Object’, namely
ghcjs-base-stub > ‘(H.fromList propVals)’
ghcjs-base-stub > In the first argument of ‘return’, namely
ghcjs-base-stub > ‘(AE.Object (H.fromList propVals))’
ghcjs-base-stub > In a stmt of a 'do' block: return (AE.Object (H.fromList propVals))
ghcjs-base-stub > • Relevant bindings include
ghcjs-base-stub > propVals :: [(Text, v0)] (bound at src/GHCJS/Marshal.hs:154:21)
ghcjs-base-stub > |
ghcjs-base-stub > 157 | return (AE.Object (H.fromList propVals))
ghcjs-base-stub > | ^^^^^^^^^^^^^^^^^^^
ghcjs-base-stub >
ghcjs-base-stub > /tmp/stack-71a3f8fe3d9f7ff2/ghcjs-base-stub-0.3.0.2/src/GHCJS/Marshal.hs:278:102: error:
ghcjs-base-stub > • Couldn't match type: Data.Aeson.KeyMap.KeyMap AE.Value
ghcjs-base-stub > with: H.HashMap Text AE.Value
ghcjs-base-stub > Expected: H.HashMap Text AE.Value
ghcjs-base-stub > Actual: AE.Object
ghcjs-base-stub > • In the first argument of ‘H.toList’, namely ‘o’
ghcjs-base-stub > In the second argument of ‘mapM_’, namely ‘(H.toList o)’
ghcjs-base-stub > In a stmt of a 'do' block:
ghcjs-base-stub > mapM_
ghcjs-base-stub > (\ (k, v)
ghcjs-base-stub > -> convertValue v
ghcjs-base-stub > >>= \ v' -> OI.setProp (JSS.textToJSString k) v' obj)
ghcjs-base-stub > (H.toList o)
ghcjs-base-stub > |
ghcjs-base-stub > 278 | mapM_ (\(k,v) -> convertValue v >>= \v' -> OI.setProp (JSS.textToJSString k) v' obj) (H.toList o)
ghcjs-base-stub > | ^
The one I particularly need is JavaScript.Web.Storage
but it seems as though quite a few are missing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.