core-typed

Typed Clojure, an optional type system for Clojure
2020-02-23T00:00:37.062500Z

It's getting late here. Have a good day/night! Thanks for giving me a type checking intro 🙂

2020-02-23T02:56:19.062900Z

np any time! good night!

2020-02-23T02:57:58.063400Z

just pushed my first typed clojure snapshots to clojars

2020-02-23T02:58:02.063600Z

feels good

2020-02-23T02:59:04.064300Z

I'll document how to go from core.typed to https://github.com/typedclojure/typedclojure as I go

2020-02-23T04:00:07.065100Z

I forgot there's no reason for me to break everything. Just make a new namespace. duh. Haven't I attended enough RH talks?

2020-02-23T04:00:47.065600Z

that would be kindest to myself also, don't break the thousands of assertions in the tests xD

2020-02-23T04:01:27.065800Z

typed.clj.spec coming up

2020-02-23T04:15:57.066600Z

@zilti you might be interested as my one user. here's the instructions to migrate to the latest typedclojure version https://github.com/typedclojure/typedclojure/blob/master/UPGRADING.md#from-coretyped-100-to-typedclojure-101

2020-02-28T09:25:38.099400Z

Just so you know, you have interested non-users too 🙂 This is fascinating stuff, keep up the good work!

2020-02-23T04:16:10.066900Z

no breaking changes intended

2020-02-23T04:16:43.067600Z

and I think I was being a little silly, I don't think I want to break everything. lol

2020-02-23T04:17:12.068Z

incremental changes and improvements will get me where I want to be

2020-02-23T04:47:30.071700Z

i have a tangential(?) question that i'm hoping to get some leads on. i'd like to be able to "annotate" forms in a file, but not actually write those annotations in the file, but have them stored separately. at some point i'd like to "apply" these annotations to the forms they are supposed to be applied to. are there some well-understood means of doing this well or perhaps it has been shown to not work very well already? i've seen some work in the java world for this, e.g. https://checkerframework.org/annotation-file-utilities/annotation-file-format.html thanks for any ideas 🙂

2020-02-23T05:24:51.072600Z

@sogaiu that sounds like how typed clojure works. you give top-level annotations for vars, and then the checker uses them to check the forms

2020-02-23T05:25:07.072800Z

also spec works like this

2020-02-23T07:54:01.082100Z

PR's are open for business. clojure ca still required, more info here https://github.com/typedclojure/typedclojure/blob/master/CONTRIBUTING.md

2020-02-23T07:54:24.082600Z

made a fancy automated check for CA. not foolproof, but should work well enough.

2020-02-23T08:00:23.083300Z

@ambrosebs thanks for the response. is it correct that in both of these cases the "targets" are identified by names?

2020-02-23T16:23:14.084100Z

@sogaiu pretty much, see clojure.core.typed/ann and clojure.spec/def

2020-02-23T21:10:53.084700Z

woop, auto-deploy clojars snapshots from GitHub Actions https://github.com/typedclojure/typedclojure/runs/463480648