Skip to content

Instantly share code, notes, and snippets.

View roetlich's full-sized avatar

Till roetlich

View GitHub Profile
@roetlich
roetlich / server.ics
Created August 12, 2020 17:35
IntercalScript web server, with fake type declarations.
{-# language foreign-function-interface #-}
#import {Trait, String, Int, Function, Function2} from "types"
`import http from "http";`;
Response = Trait(funct(r)
String( r.contentType );
Int( r.code );
String( r.msg );