fork download
  1.  
  2. exampleFSM:: FSM Int Char Char
  3. exampleFSM = FSM start trans accept out
  4. where
  5. start = 0
  6. trans =
  7. accept = [1,2,3]
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
 exampleFSM:: FSM Int Char Char
           ^
stdout
Standard output is empty