Skip to content

Commit

Permalink
brief note
Browse files Browse the repository at this point in the history
darcs-hash:20080414103207-228f4-ddf506792bbf9937ea5dc4c8ab798907dc931d02.gz
  • Loading branch information
eb committed Apr 14, 2008
1 parent 4010d7d commit 5f7525a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Idris/Latex.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ hence the weird bracketing.
> "\\RW{do}\\:\\AR{" ++
> concat (map (latex ctxt defs) ds)) ++ "}"
>
> showP _ x = show x -- need Do notation
> showP _ x = show x
> bracket outer inner str | inner>outer = "("++str++")"
> | otherwise = str

Expand Down
10 changes: 10 additions & 0 deletions notes/compiler_plan.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Match compiler
* ViewTerm -> Pattern
* Pattern Set -> Simple case tree
* Simple case tree -> Epic definitions
IO tree interpreter, in Epic. Special cases for the various constructors.
* [[IODo foo f]] ==> let val = [[foo]]; f val
[[IOReturn val]] ==> val
[[PutStr v]] ==> do putStr v; PUSH unit. etc.

Simple CGI program?

0 comments on commit 5f7525a

Please sign in to comment.