Skip to content

Instantly share code, notes, and snippets.

View Demuirgos's full-sized avatar
💭
I am Code-Talker

Ayman Bouchareb Demuirgos

💭
I am Code-Talker
View GitHub Profile
@Demuirgos
Demuirgos / Math.hs
Created May 22, 2022 17:28 — forked from pedrominicz/Math.hs
Simple arithmetic expression parsec.
module Math where
import Text.Parsec
import Text.Parsec.String
data Expr
= Num Integer
| Op Op Expr Expr
deriving Show