Skip to content

Instantly share code, notes, and snippets.

View geraldus's full-sized avatar
🎯
Focusing

Артур Файзрахманов geraldus

🎯
Focusing
  • Russian Federation
View GitHub Profile
@geraldus
geraldus / DynLoad.hs
Created February 25, 2022 15:01 — forked from worldsayshi/DynLoad.hs
Example for loading Haskell source code dynamically using the GHC api
-----------------------------------------------------------------------------
-- | Example for loading Haskell source code dynamically using the GHC api
-- Tested on ghc 7.4.2
--
-- Useful links:
-- GHC api:
-- http://www.haskell.org/ghc/docs/latest/html/libraries/ghc/GHC.html
-- Wiki:
-- http://www.haskell.org/haskellwiki/GHC/As_a_library
-----------------------------------------------------------------------------