Reputation: 109
How can i print a value that is a non string type to console? The type is below.
data Expr = Var String | Con Bool | Uno Unop Expr | Duo Duop Expr Expr | List [Expr]
deriving Show
I have a list of the above type values and i would like to print them to screen each on a separate line( not the classic list view). Thanks
Upvotes: 0
Views: 167