Re: Clojure core documentation

2017-09-26 Thread Phillip Lord
If the docstring were more structured (either using conventions within the docstring, or additional metadata elements on the var), then this would not be a problem. First line for tooltip, main doc for hover-over, examples on request, that kind of thing. Phil Beau Fabry writes: > As a docstrin

Re: Clojure core documentation

2017-09-26 Thread Gordon Syme
Hi Alex, Thank you for the work you've already put in to improving docstrings in Clojure 1.9, I noticed a bunch of docstring Jiras land recently which is really encouraging. Specs certainly helps those of us who are familiar with Clojure and clojure.spec already, and know how to use specs to g

Re: Clojure core documentation

2017-09-26 Thread Phillip Lord
Alex Miller writes: > On Monday, September 25, 2017 at 11:42:12 AM UTC-5, Phillip Lord wrote: >> Clojure's doc strings, though, contain knowledge that is not >> clear. Consider, this documentation: >> >> Returns a new seq where x is the first element and seq is the rest. >> >> x is the name of

read-line is limited to 4095 chars

2017-09-26 Thread baptiste . fontaine
Hello there, I was using read-line to read a large line and found it limits its input to 4095 chars. I tested this on both Clojure 1.8.0 and 1.9.0-beta1. Steps to reproduce: $ lein new foo $ cd foo $ lein repl ... => (count (read-line)) Then enter a line that’s longer than 4095 charact

Re: read-line is limited to 4095 chars

2017-09-26 Thread Alex Miller
Please file a jira enhancement. Changes could include updating the doc string, or adding a new arity to read-line that takes a size and passes it through to the buffered reader. On Tuesday, September 26, 2017 at 6:28:26 AM UTC-5, baptiste.fonta...@oscaro.com wrote: > > Hello there, > > I was u

Re: read-line is limited to 4095 chars

2017-09-26 Thread David Powell
I'm not experiencing this on Windows... Could it be that your terminal or tooling is limiting the input to 4096 characters? On Tue, Sep 26, 2017 at 2:20 PM, Alex Miller wrote: > Please file a jira enhancement. Changes could include updating the doc > string, or adding a new arity to read-line th

Re: read-line is limited to 4095 chars

2017-09-26 Thread baptiste . fontaine
> I'm not experiencing this on Windows... Could it be that your > terminal or tooling is limiting the input to 4096 characters? Are you able to read more than 8k characters? Le mardi 26 septembre 2017 16:56:24 UTC+2, David Powell a écrit : > > I'm not experiencing this on Windows... Could it b

Generative testing of Ring web apps

2017-09-26 Thread Steve Buikhuizen
Hi all, in case this is useful to the community, I thought I'd share the repo I used in a talk at Clojure Sydney last night. https://github.com/stevebuik/stateful-generative-tests Enjoy! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

[ANN] data.xml 0.2.0-alpha3

2017-09-26 Thread Herwig Hochleitner
data.xml is a Clojure contrib library that parses and emits XML. Github: https://github.com/clojure/data.xml Changelog: https://github.com/clojure/data.xml/blob/master/CHANGES.md Information on updating the dependency is here . 0.2.0-alpha3 featu

Re: read-line is limited to 4095 chars

2017-09-26 Thread Juraj Martinka
I'm running on Mac OS X Sierra with Clojure 1.8. I have to admit that behavior when trying to read a long line in terminal/repl is a bit odd (it may be the limitation of terminal). However, If I try this via input from the text file it works properly: wc -c very-long-line.txt 8101 very-lo