Can typed-clojure be used without writing any type annotation?

31 views
Skip to first unread message

Paulo César Cuneo

unread,
Feb 26, 2017, 3:08:15 PM2/26/17
to core.typed
Hi there!
      I'm curious if core-typed can be used without writing any type annotations, as lein/boot plugin?   
I mean can it be used as a linter? If not why not? 
All examples i found require to write the types.

Bye.



Ambrose Bonnaire-Sergeant

unread,
Feb 26, 2017, 6:26:41 PM2/26/17
to core.typed
core.typed is only effective with type annotations (at the moment). This is mainly because
it relies on local type inference, where annotations on lambdas are assumed
to be given.

Thanks,
Ambrose

Paulo César Cuneo

unread,
Feb 26, 2017, 7:33:03 PM2/26/17
to core.typed
Hi Ambrose! Thanks for the response. 

I been interested in type inference for a while, 
read the damas paper. Guess I'll read your tesis now, or at least the local inference bit.

Thanks.
Reply all
Reply to author
Forward
0 new messages