Fork me on GitHub
#emacs
<
2019-05-20
>
andrea.crotti12:05:20

it would be great to have this available in cider or just Emacs anyway https://github.com/borkdude/re-find

👍 12
andrea.crotti12:05:47

a simple wrapper should be easy to do

vemv15:05:03

Perhaps I would do a simple IDE-agnostic repl wrapper that calls the thing and then presents the results using clojure.pprint/print-table if needed As for easy access, I tend to use yasnippet over the repl buffer (e.g. refind<TAB> -> an expanded stubbed call of re-find). Plus requiring the lib in advance in Lein profiles.clj

bozhidar08:05:54

That’s what I want to do with Orchard at some point.

bozhidar08:05:38

Expose an extra orchard.repl namespace that basically provides REPL-friendly wrappers for the core functionality.

theeternalpulse18:05:44

Is there a way to only "export" certian functions when creating a package, instead of all of them being available globally?

dpsutton18:05:13

There is no notion of export. They are interned or not

dpsutton18:05:06

Nor a notion of namespaces

theeternalpulse18:05:38

is there any solution out there, maybe a suite of macros?

dpsutton18:05:29

there's a convention of package-name-public and package-name--private (Double dashes)

theeternalpulse18:05:05

yeah, I don't love that because when a user tries to find relevant packages the --private comes up first

theeternalpulse18:05:18

but I know it's a standard

theeternalpulse18:05:44

ah well, I won't harp on it much, I just hate that aspect of elisp

dpsutton18:05:07

agreed 😞

theeternalpulse18:05:04

I was going to go with just local lets, or use that cl- let form for functions