Skip to content

Instantly share code, notes, and snippets.

@Freezerburn
Freezerburn / baconrod.nim
Last active December 28, 2015 11:39
Porting bacon.js
type
TBaconRet* = enum
BaconMore,
BaconEnd
TBaconEventType* = enum
BaconEventNext,
BaconEventEnd,
BaconEventError,
BaconEventInitial
[ERROR]
hello.nim(14, 7) Info: instantiation from here
debug.nim(18, 7) Error: expression 'debug' has no type (or is ambiguous)
[hello.nim]
import os
import fowltek/sdl2
import times
import debug