Why exceptions are the pattern we encourage? So if I spec'ed my function
input, output and input-to-output there is no way to specify errors when
something goes wrong, because neither spec nor clojure does not allow you
to describe exception that can be thrown in your function. Returning
t;> An Architect's View -- http://corfield.org/
>>
>> "If you're not annoying somebody, you're not really alive."
>> -- Margaret Atwood
>>
>> On 9/29/16, 7:20 AM, "Serzh Nechyporchuk" <clojure@googlegroups.com on
>> behalf o
Thank you Alex. That’s true, I can use just predicate to validate string. But I
want a little more from this.
I really want to use generators and conforming.
I know that strings are seqable, s/cat works with seq. So my question is: Are
there any way to combine this?
> On Sep 29, 2016, at
Hello to everyone.
Are there any ability to use specs to match string, something like standard
regex?
For example, I have a function that takes a specially constructed string as
parameter:
(defn parse-something [s] ...) ;; s => "a=1; b=2; c=3"
It would be nice doing this, because I be able
We also considered no issues with update to 1.8.
2015-12-11 3:19 GMT+02:00 Matthias Nehlsen :
> No problems here, I updated it in all my projects and everything is
> working nicely. Thanks!
>
>
> On Wednesday, December 2, 2015 at 5:03:31 PM UTC+1, Alex Miller wrote:
There is an error in the link in the issue: you leave "):" in the end of
url.
On Monday, November 16, 2015 at 4:32:10 PM UTC+2, Alex Miller wrote:
>
> Clojure 1.8.0-RC2 is now available. *This build is a "release candidate"!* We
> would appreciate any and all testing you can do on your own
In our app we have 30% speed improvements. Although direct-linking helps us
with code obfuscation.
--
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
> On Tuesday, December 1, 2015 at 1:46:22 AM UTC-6, Serzh Nechyporchuk wrote:
>>
>> Hello, Alex. Thank you for your work.
>>
>> Direct linking is a feature that we wait for a long. We need to obfuscate
>> our code, so direct linking is really helps us.
&
Hello, Alex. Thank you for your work.
Direct linking is a feature that we wait for a long. We need to obfuscate
our code, so direct linking is really helps us.
But I wonder, why there is keyword and symbols interning left in the static
initalizer in the class:
L1 {
ldc
OOP always talks about object (mutable or immutable) in terms of
polymorphism, encapsulation and inheritance. Components library misses only
inheritance, which, obviously, the killer feature in OOP. So we could say
that Components library that take good ideas from OOP.
If you want call something
:
On 21/08/2014 14:35, Serzh Nechyporchuk wrote:
This code works fine for me. Did you try to reload repl?
Reloaded but now getting this error:
CompilerException java.lang.IllegalArgumentException: Unable to resolve
classname: LinkedBlockingQueue
Maybe something needs :require-ing
Can you put all file that you try to load?
2014-08-21 11:04 GMT+03:00 gvim gvi...@gmail.com:
I can't work out why this code produces an exception:
(defn fints [ args]
(assert (every? integer? args))
(vec args))
(defn testf [x]
(fints x))
(testf 42)
IllegalStateException
Can you put all file that you try to load?
Четвер, 21 серпня 2014 р. 11:04:33 UTC+3 користувач g vim написав:
I can't work out why this code produces an exception:
(defn fints [ args]
(assert (every? integer? args))
(vec args))
(defn testf [x]
(fints x))
(testf 42)
Adding to previous answer, I think that you have to say about clojure macro
power and lisp's programming paradigm as library. And also you have to
mention about clojure polymorphism and how it solves expression problem.
2014-08-21 13:18 GMT+03:00 Kalina Todorova kalinalyudmil...@gmail.com:
I can give you my presentation about Clojure. I have several questions:
- (classic) parenthesis
- How do you model your domain without objects?
- About dsl. If clojure is good for dsl, does it mean that when you get new
librarty with its own dsl, you have to learn new language?
- How does new
/1ewQYugwi9mBdogWMLGQM74uadrI-jw4Kf3Tasxve_bs/edit?usp=sharing
2014-08-21 13:39 GMT+03:00 Cecil Westerhof cldwester...@gmail.com:
2014-08-21 12:33 GMT+02:00 Serzh Nechyporchuk nechyporc...@gmail.com:
I can give you my presentation about Clojure. I have several questions:
- (classic) parenthesis
:
2014-08-21 12:49 GMT+02:00 Serzh Nechyporchuk nechyporc...@gmail.com:
In most programming languages cool features are provided as core
functionality and you can't extend it manually. But in lisp you can do it
just as library.
For example:
- Go channels - core.async
- logic programming
too. In it I show production examples of using
clojure and repl-driven development. So it will be very nice if you have
time for a second talk too.
You are welcome :)
Четвер, 21 серпня 2014 р. 14:56:00 UTC+3 користувач Cecil Westerhof написав:
2014-08-21 13:43 GMT+02:00 Serzh Nechyporchuk
This code works fine for me. Did you try to reload repl?
2014-08-21 16:29 GMT+03:00 gvim gvi...@gmail.com:
On 21/08/2014 09:39, Serzh Nechyporchuk wrote:
Can you put all file that you try to load?
Here it is. Just bits and pieces for practice:
(ns gh1.core)
(defn foo
I don't do
Hi, guys
I've just googled about clojure production environments and found nothing
about it.
I want to ask what environments for production do you use (e.g. application
server, cloud platform, deploy tool, etc)?
I think this information will be interesting for many people.
For now in our
.
Thanks,
Andy
On Thu, Jul 31, 2014 at 5:38 AM, Serzh Nechyporchuk nechyp...@gmail.com
wrote:
On my Ubuntu 14.04 laptop process doesn't terminates at all. I was
waiting about an hour.
Also this issue affects code which uses datomic.api, which, I think, uses
futures too.
Середа, 30 липня
at 12:33 PM, Serzh Nechyporchuk nechyp...@gmail.com
javascript: wrote:
Hello. I have a problems using code with futures. For example, if I run
following code:
java -jar clojure-1.6.0.jar -e (println 1)
the process prints 1 and terminates.
But when I'm trying to run code with futures
Hello. I have a problems using code with futures. For example, if I run
following code:
java -jar clojure-1.6.0.jar -e (println 1)
the process prints 1 and terminates.
But when I'm trying to run code with futures:
java -jar clojure-1.6.0.jar -e (future 1)
the process doesn't terminates.
This
How can I match fns as values? For example:
(let [fun assoc]
(match [fun]
[get] get
[assoc] assoc
:else other))
The example above is not match correctly. It always matches on first clause.
Thank you.
--
You received this message because you are subscribed to the Google
Groups
24 matches
Mail list logo