Skip to content

Instantly share code, notes, and snippets.

Anthony Brice anthonybrice

  • California
View GitHub Profile
View hw6.hs
{-# LANGUAGE FlexibleInstances #-}
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
module Homework.Week06.Assignment (
fib,
fibs1,
fibs2,
streamToList,
streamRepeat,
streamMap,
View ex6.hs
class HasVars a where
var :: String -> a
data VarExprT
= Lit' Integer
| Var String
| Add' VarExprT VarExprT
| Mul' VarExprT VarExprT
deriving (Eq, Show)
You can’t perform that action at this time.