Is there any way of saying in typed racket “This function returns a String if the first argument is #t and Symbol if it’s #f”
… though I’ve started to think that kind of a function is usually a bad idea anyway. Better to have two functions. No reason not to make them especially when macros make it so easy to do so.
@hoshom definitely agree that kind of function sounds not so useful
difficult to use
@hoshom yes, you can use case-> for that
@samth you’re right, thanks… I did check for that before asking but at the time I must’ve been doing something wrong, I tried making a minimal example again just now and it works just fine
@ehaney has joined the channel
I don’t get this. Sorting racket language repositories at Github after “Recently Updated” gets this:
The first on the list was updated sep 2018.
click the little circled "?" : there were too many results so some are not included
I suppose that’s positive (too many recent updates), but horrible user experience.
@soegaard2 true, I personally use pushed:>2018-12-31
like so https://github.com/search?q=language%3ARacket+pushed%3A%3E2018-12-31&type=Repositories
@githree Nice tip.