Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am anthonybrice on github.
  • I am anthonybrice (https://keybase.io/anthonybrice) on keybase.
  • I have a public key ASC3c6xgmdA9lCsD8PScDdDQf4a87lVrsxX4iDWzJio1zAo

To claim this, I am signing this object:

{-# LANGUAGE FlexibleInstances #-}
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
module Homework.Week06.Assignment (
fib,
fibs1,
fibs2,
streamToList,
streamRepeat,
streamMap,
@anthonybrice
anthonybrice / ex6.hs
Last active September 12, 2018 03:24
class HasVars a where
var :: String -> a
data VarExprT
= Lit' Integer
| Var String
| Add' VarExprT VarExprT
| Mul' VarExprT VarExprT
deriving (Eq, Show)