The GHC API requires writing the code evaluation model from scratch. This is a complicated task. iHaskell reimplements a lot of GHCi directives (so notebooks can be GHCi compatible) but doesn’t cover a lot of useful ones e.g :set package and :script. For this reason, Sabela evaluates the code with a cabal subprocess. This ensures that you get all of GHCi’s API for free.
Melissa Etheridge
。Line官方版本下载对此有专业解读
Copyright © 1997-2026 by www.people.com.cn all rights reserved
# With a specific model