Hacker News new | past | comments | ask | show | jobs | submit login

You nerdsniped me. Just spitballing a more racket-like way to write it..

    (define myfunc length 
            #:type (-> [a] Int))
    (define main 
            #:type (IO ()) 
       (do (print (length "foo"))))



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: