RE: Any better client then telnet for connecting to a socket repl server?

2018-03-04 Thread Kimmo Koskinen
Hi!

There are quite impressive socket repl clients such as 
https://github.com/Unrepl/unravel and https://github.com/Unrepl/spiral (for 
Emacs) both of which use the unrepl protocol https://github.com/unrepl/unrepl.

- Kimmo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why does the `def-` not exist?

2018-03-04 Thread Léo Noel
Or maybe people are confused because the :private metadata *complects* two 
separate concerns : *API commitment* and *visibility*.
If there was a way to programmatically make the distinction between 
implementation and API without impacting visibility, it would be 
tremendously valuable for tooling and I would definitely use it.

On Saturday, March 3, 2018 at 6:02:00 PM UTC+1, Alex Miller wrote:
>
> > ^:private is the stale and sleazy co-conspirator of another blunt 
> instrument, the whole-ns :use. 
>
> It’s also useful for anything that uses the var meta to show you only 
> public vars in an ns, such as dir, ns-publics, etc. those are all useful 
> and would affect your repl experience even if you never :use or :refer 
> :all. 
>
> I find people have different relationships with :private depending on what 
> kind of work they do. It’s very useful in in libs for delineating public 
> apis, much less important in an app context.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Bozhidar Batsov
Btw, didn't you find the instructions in the official manual useful (
http://cider.readthedocs.io/en/latest/installation/ and
http://cider.readthedocs.io/en/latest/up_and_running/). Admitted they are
not great, but they do cover a lot of ground and are reasonably up-to-date.

On 3 March 2018 at 23:11, Chris Shellenbarger  wrote:

> I spent the last week learning and using Emacs and CIDER for Clojure
> Development.
>
> I've started to write up a lot of the lessons I've learned from doing so
> in the hopes that it will help some other people who attempt something
> similar.
>
> Anyway, if you're interested in getting started with Emacs and CIDER,
> you'll have to learn about how to use the keyboard so I wrote a couple of
> key lessons in a Medium post:  Developing in Clojure with Emacs:
> Mastering the Keyboard
> 
> .
>
> My environment was Emacs 24.5.1 with CIDER 0.16.0 on Linux Mint 18.3.
>
> I used the Clojure for the Brave and True  book
> for a basic intro into Emacs  and
> used the provided emacs configuration files as a starting point.  However,
> these only worked with CIDER 0.8.0 and were about four years old.  I made
> some modifications of the files to work with CIDER 0.16.0 and put them up
> for anyone to use on my BitBucket Repository
> .
>
> I have a lot more to share about my Emacs experience, but I found that
> there was so much that I had to split it into multiple posts.
>
> Hope it helps someone out there!
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Giacomo Cosenza
Hi Chris,
in my past experience you have to fix more things to update
emacs-for-clojure to latest stable CIDER release (I'm currently using
emacs-prelude instead):

In your init.el

(add-to-list 'package-archives
 '("melpa-stable" . "http://stable.melpa.org/packages/";) t)
(add-to-list 'package-pinned-packages
 '(cider . "melpa-stable") t)
(add-to-list 'package-pinned-packages
 '(seq . "melpa-stable") t)
(add-to-list 'package-pinned-packages
 '(clojure-mode . "melpa-stable") t)

And in your customizations/setup-clojure.el you have to fix the minibuffer
documentaion as follows:


(add-hook 'cider-mode-hook 'eldoc-mode)

HIH

mimmo



On Sat, Mar 3, 2018 at 5:11 PM, Chris Shellenbarger 
wrote:

> I spent the last week learning and using Emacs and CIDER for Clojure
> Development.
>
> I've started to write up a lot of the lessons I've learned from doing so
> in the hopes that it will help some other people who attempt something
> similar.
>
> Anyway, if you're interested in getting started with Emacs and CIDER,
> you'll have to learn about how to use the keyboard so I wrote a couple of
> key lessons in a Medium post:  Developing in Clojure with Emacs:
> Mastering the Keyboard
> 
> .
>
> My environment was Emacs 24.5.1 with CIDER 0.16.0 on Linux Mint 18.3.
>
> I used the Clojure for the Brave and True  book
> for a basic intro into Emacs  and
> used the provided emacs configuration files as a starting point.  However,
> these only worked with CIDER 0.8.0 and were about four years old.  I made
> some modifications of the files to work with CIDER 0.16.0 and put them up
> for anyone to use on my BitBucket Repository
> .
>
> I have a lot more to share about my Emacs experience, but I found that
> there was so much that I had to split it into multiple posts.
>
> Hope it helps someone out there!
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Chris Shellenbarger
I found them useful for getting the repl to run - after following these 
instructions I was able to run 'cider-jack-in' and get to a repl that 
worked the same was as the one I had been using in Cursive.

They also pointed me to a couple of suggested packages to install, in which 
whichkey was one. 

However, with a running REPL, I had no idea what to do - I was consulting 
cheat sheets for things I knew I wanted to do, but did not have a clear way 
to discover all the options available to me.  That's when I turned to the 
CftBT book and his configuration because at least I could see what a 
Clojure Developer was using.   Installing whichkey and whatever package 
allows the search for functions was incredibly helpful (which inspired the 
original post).

What I feel is missing from a lot of the Clojure world is documentation on 
how the real professional Clojure developers are working from a day to day 
perspective.  This includes any that work in Emacs/CIDER - how are they 
working more productively than we can in Cursive or another IDE?  With the 
tools I mention in my post, I can see how you can get started down that 
path.

As far as the CIDER docs go, I think a huge way to increase their utility 
would be to provide an example Emacs configuration so that people can just 
download it and get up and running within a context that can be discussed 
in the documentation.  I'm sure people have these configurations running - 
you can use the ones that I put up as well.


On Sunday, March 4, 2018 at 7:13:37 AM UTC-6, Bozhidar Batsov wrote:
>
> Btw, didn't you find the instructions in the official manual useful (
> http://cider.readthedocs.io/en/latest/installation/ and 
> http://cider.readthedocs.io/en/latest/up_and_running/). Admitted they are 
> not great, but they do cover a lot of ground and are reasonably up-to-date. 
>
> On 3 March 2018 at 23:11, Chris Shellenbarger  > wrote:
>
>> I spent the last week learning and using Emacs and CIDER for Clojure 
>> Development.
>>
>> I've started to write up a lot of the lessons I've learned from doing so 
>> in the hopes that it will help some other people who attempt something 
>> similar.
>>
>> Anyway, if you're interested in getting started with Emacs and CIDER, 
>> you'll have to learn about how to use the keyboard so I wrote a couple of 
>> key lessons in a Medium post:  Developing in Clojure with Emacs: 
>> Mastering the Keyboard 
>> 
>> .
>>
>> My environment was Emacs 24.5.1 with CIDER 0.16.0 on Linux Mint 18.3.
>>
>> I used the Clojure for the Brave and True  book 
>> for a basic intro into Emacs  and 
>> used the provided emacs configuration files as a starting point.  However, 
>> these only worked with CIDER 0.8.0 and were about four years old.  I made 
>> some modifications of the files to work with CIDER 0.16.0 and put them up 
>> for anyone to use on my BitBucket Repository 
>> .
>>
>> I have a lot more to share about my Emacs experience, but I found that 
>> there was so much that I had to split it into multiple posts.   
>>
>> Hope it helps someone out there!
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Chris Shellenbarger
Thanks Magomimmo -  the main thing I did to get it working was to load the 
`seq` file directly - for some reason requiring the package wasn't loading 
the functions that the CIDER repl was calling.   Anyway it was strange but 
I cobbled together something that worked well enough for me to evaluate.

On Sunday, March 4, 2018 at 8:07:14 AM UTC-6, Magomimmo wrote:
>
> Hi Chris,
> in my past experience you have to fix more things to update 
> emacs-for-clojure to latest stable CIDER release (I'm currently using 
> emacs-prelude instead):
>
> In your init.el
>
> (add-to-list 'package-archives
>  '("melpa-stable" . "http://stable.melpa.org/packages/";) t)
> (add-to-list 'package-pinned-packages
>  '(cider . "melpa-stable") t)
> (add-to-list 'package-pinned-packages
>  '(seq . "melpa-stable") t)
> (add-to-list 'package-pinned-packages
>  '(clojure-mode . "melpa-stable") t)
>
> And in your customizations/setup-clojure.el you have to fix the minibuffer 
> documentaion as follows:
>
>
> (add-hook 'cider-mode-hook 'eldoc-mode)
>
> HIH 
>
> mimmo
>
>
>
> On Sat, Mar 3, 2018 at 5:11 PM, Chris Shellenbarger  > wrote:
>
>> I spent the last week learning and using Emacs and CIDER for Clojure 
>> Development.
>>
>> I've started to write up a lot of the lessons I've learned from doing so 
>> in the hopes that it will help some other people who attempt something 
>> similar.
>>
>> Anyway, if you're interested in getting started with Emacs and CIDER, 
>> you'll have to learn about how to use the keyboard so I wrote a couple of 
>> key lessons in a Medium post:  Developing in Clojure with Emacs: 
>> Mastering the Keyboard 
>> 
>> .
>>
>> My environment was Emacs 24.5.1 with CIDER 0.16.0 on Linux Mint 18.3.
>>
>> I used the Clojure for the Brave and True  book 
>> for a basic intro into Emacs  and 
>> used the provided emacs configuration files as a starting point.  However, 
>> these only worked with CIDER 0.8.0 and were about four years old.  I made 
>> some modifications of the files to work with CIDER 0.16.0 and put them up 
>> for anyone to use on my BitBucket Repository 
>> .
>>
>> I have a lot more to share about my Emacs experience, but I found that 
>> there was so much that I had to split it into multiple posts.   
>>
>> Hope it helps someone out there!
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Erik Assum
There was a thread in this on clojureverse.org:

https://clojureverse.org/t/share-the-nitty-gritty-details-of-your-clojure-workflow/1208

Erik. 
-- 
i farta

> 4. mar. 2018 kl. 15:47 skrev Chris Shellenbarger 
> :
> 
> What I feel is missing from a lot of the Clojure world is documentation on 
> how the real professional Clojure developers are working from a day to day 
> perspective. 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


What’s the best way to browse all lein templates?

2018-03-04 Thread Jonathon McKitrick
There are 1860 lein templates on clojars as of this writing. Is there a 
sane way to view them and group them by category?

I’m looking for a handful of templates to consider for my next project.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to visualise relations, bahavior and so on in functional programming ?

2018-03-04 Thread Dmitry Fomin
Hello from future! :)

I just wonder have you managed to find good tooling for this?

Imho for FP there is still only suitable diagram notation is good old IDEF0  


On Tuesday, 11 May 2010 11:18:18 UTC+3, Donell Jones wrote:
>
> Hi Team, 
> I am really interested in functional programming. But I am asking 
> myself, what if the project get bigger, like the software Runa realise 
> with Clojure. In OOP we got diagrams like UML to visualise this. But 
> what can we do in FP ? Are there any diagrams that can be used to 
> explain things ? 
>
> I think this is very important when it comes to documentation. 
>
> Thanks for your help! 
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Clojure" group. 
> To post to this group, send email to clo...@googlegroups.com  
> Note that posts from new members are moderated - please be patient with 
> your first post. 
> To unsubscribe from this group, send email to 
> clojure+u...@googlegroups.com  
> For more options, visit this group at 
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What’s the best way to browse all lein templates?

2018-03-04 Thread Edward Knyshov
Did you try to narrow down your result set with Clojars search syntax?
https://github.com/clojars/clojars-web/wiki/Search-Query-Syntax
It's based on lucene and I think you can do lots of things with it.

On Sunday, March 4, 2018 at 10:06:45 PM UTC+7, Jonathon McKitrick wrote:
>
> There are 1860 lein templates on clojars as of this writing. Is there a 
> sane way to view them and group them by category?
>
> I’m looking for a handful of templates to consider for my next project.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to visualise relations, bahavior and so on in functional programming ?

2018-03-04 Thread Ivan Pierre
I remember the quite old SA/SD DFD from Yourdon/DeMarco.

Here is a study on building a tool using these 
concepts: 
http://dspace.siu.ac.th/bitstream/1532/297/3/SIU%20SS%20SOT-MSIT-2007-02.pdf

It's a very neat way to describe a system visually to a n00b client and/or 
define it with him.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.