
17 Feb
2021
17 Feb
'21
3:17 p.m.
How would I install it globally? I'm not using projects, I'm just at the
ghci REPL.
On Wed, Feb 17, 2021 at 12:57 PM Francesco Ariis
Il 17 febbraio 2021 alle 11:13 Galaxy Being ha scritto:
I'm trying to use Decimal but (I'm guessing) I don't know how to import it.
import Data.Decimal
dList :: [Decimal] dList = [1.1,1.2..2.0]
: <interactive>:70:11-17: error: : Not in scope: type constructor or class `Decimal'
Works here. You need to add `Decimal` the dependencies of your project or install it globally first —F _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners