Skip to content

Dynamic libraries suport (single .hs file) #1247

Answered by berberman
luishgh asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, dynamic linking haskell-language-server can't solve this issue, because hls will use defaultCradle given by hie-bios to load xmonad.hs if there is no explicit cradle config (at least on my Arch Linux machine). However, defaultCradle contains an empty componentOptions, so hls can not know this standalone hs module should be loaded dynamically. Here is a related issue: haskell/hie-bios#257.

@felixonmars and I are working on this recently, and we decided to patch hie-bios. I believe hls can be installed directly from pacman on Arch Linux in the near future :)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by luishgh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants