On 22 July 2016 at 16:42, Peter Romfeld wrote:
>
>>
>>> Im frustrated with `empty?` throwing exceptions for Long and Keyword
>>>
>>
>> What should happen? Asking whether an integer or keyword is "empty?"
>> doesn't really make sense IMO, and if it doesn't make sense, it should
>> throw an excepti
On Saturday, July 23, 2016 at 12:01:40 AM UTC+8, raould wrote:
>
> Unfortunately, dynamically typed most often means what you are
> experiencing, as far as I know. Python, JavaScript, Scheme, Lua, etc. all
> have something like NPE that can happen at any random time, it feels like,
> no?
>
im
NPE is just so painful! most exceptions are not that easy to debug, would
be cool if it could say from where the problem was initiated.. (well
because most of the time i forget to print the stacktrace with
`print-stack-trace `)
--
You received this message because you are subscribed to the Goo
Unfortunately, dynamically typed most often means what you are experiencing, as
far as I know. Python, JavaScript, Scheme, Lua, etc. all have something like
NPE that can happen at any random time, it feels like, no?
--
You received this message because you are subscribed to the Google
Groups "C
I dont wanna go into the problems we have with this "dynamic typesystem"
where you would think it takes care of different types in different
functions, but in the end you just get NullPointerExceptions and waste half
a day figuring out from where it comes from
--
You received this message
>
>
>
>> Im frustrated with `empty?` throwing exceptions for Long and Keyword
>>
>
> What should happen? Asking whether an integer or keyword is "empty?"
> doesn't really make sense IMO, and if it doesn't make sense, it should
> throw an exception.
>
well its a fn?... "?" ! i would only expec
Please skip my last email. It is working.
Br,
Mamun
On Friday, July 22, 2016 at 11:50:08 AM UTC+2, Mamun wrote:
>
> Hi
>
> Does clojure.set/rename-keys work with namespaced keys?
>
> (clojure.set/rename-keys {:fname "Musterman"} {:fname :person/fname})
> => #:person{:fname "Musterman"}
>
>
> I
On Thursday, July 21, 2016 at 7:38:27 PM UTC-4, hiskennyness wrote:
>
> This cemo of channels in a web client works great.
>
>https://github.com/cognitect/async-webinar/blob/master/project.clj
>
> It uses plugin:
>
> [lein-cljsbuild "1.0.4-SNAPSHOT"]
>
> While trying to extend the webinar w
How come the order of the reducing operations in the resulting diagrams
below is different?
Basically I want to call the first reducing operation after the first 1 and
then the second operation when it accepts.
This is with [org.clojars.semperos/automat "0.2.0-alpha3"]
(ns p.core
(:require [
Hi
Does clojure.set/rename-keys work with namespaced keys?
(clojure.set/rename-keys {:fname "Musterman"} {:fname :person/fname})
=> #:person{:fname "Musterman"}
Is it expected result? Why namespace as #:person? According to
documentation, it should return map.
Clojure version: [org.clojur
10 matches
Mail list logo