madlib
madlib copied to clipboard
Madlib language compiler
Updates to the documentation generation workflow
Given a file like this: ```mad import List from "List" export type Metal = Gold | Silver | Bronze | Tin export type Mixed = Numeric(Metal, Short) | Word(Metal, String)...
Since we don't have a comprehensive set of IO errors (nor, I think, do we want them currently) I thought it would be useful to be able to surface general...
``` import Fn from "Function" formatMe = () => do { input = ` yo yo yo hey nice ` _
A function to remove ansi escapes from a given string
I'm working on an installation document and noticed some minor issues in the formatting of errors. - Add newline to Instance errors - Rename `Math.subtract` (it was misspelled)
Some simple logic functions to add completeness to our offerings
Consider the following two files and their related tests: *Temp.mad* ``` import String from "String" untested :: Integer -> String untested = (y) => show(y) ++ "!" emphasis :: Integer...
Given the following code: ``` conditions = (x) => { return if (x < 5) { "a" } else if (x >= 5 && x < 10) { if (x...