Skip to content

Instantly share code, notes, and snippets.

@roetlich
roetlich / server.ics
Created Aug 12, 2020
IntercalScript web server, with fake type declarations.
View server.ics
{-# 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 );
You can’t perform that action at this time.