module Main where
import Prelude
import Effect (Effect)
import Effect.Console (log)
main :: Effect Unit
main = do
let a = 1 -- can't get type of a
log "hi" -- but can get type of log
Expected:
when my cursor at a variable and I do :Ptype - it should show type inferred of a
Actual:
I have NO way to see the inferred type of a
it shows purs ide: no type information found for a
logs show that it tries to find type definition of a in imported modules
Having
Expected:
when my cursor at
a
variable and I do:Ptype
- it should show type inferred ofa
Actual:
I have NO way to see the inferred type of
a
it shows
purs ide: no type information found for a
logs show that it tries to find type definition of
a
in imported modulesProposal:
purs ide server
so it derive type of range? something like language-server does (https://microsoft.github.io/language-server-protocol/specification)N.B.
maybe someone knows other way to see derived type of
a
?