Meet re-find.it, an interactive website to find clojure functions


#1

Meet https://re-find.it, an interactive website to find clojure functions.
Hope you find it useful.

A lot of functions are not supported yet. It relies on the specs in the https://github.com/slipset/speculative project. If you miss anything, please let me know and I’ll do those specs first.


#2

This is pretty cool! I will pass it around to my co-workers and see if it can help them in learning Clojure. It looks like it should make it easier to find the correct functions in core.

Thanks!


#3

I tried inc [1 2] and expected to find map filter etc. But nothing appeared. It seems you need to put poth the args and ret specs.

Suggestion: make it work only for one of the input, it will work more like hackage.

Nice project by the way, and thanks for taking the time to out it together.


#4

Hi DjebbZ,

It should already work like that. If it doesn’t, it’s a bug. I just tried and map, filter, etc. came up.

Could you make a screenshot of what you are seeing? Also, please send the SHA that is shown at the bottom (should be (a7aa3bbec3d01de0) right now), browser and output from browser console.


#5

My bad, I tested on mobile and the keyboard added a major letter the I of “Inc”. Not suggesting to disable case sensitive because Clojure is sensitive. Thanks for quick answer!


#6

No problem. I did find one other issue: when you input the function inc, it’s printed like function object in the results table. I now changed it to printing just inc.


#7

Perhaps this could be a way to make mobile use more bearable: https://davidwalsh.name/disable-autocorrect


#8

Thanks! Deployed to https://re-find.it.


#9

I think it’s super cool! Bravo! :smile: