Hi,
I am in Sydney Australia, and looking for a job.
My current interests and skills/abilities are:
-
Design and implementation of reusable team libraries using Clojure
-
Design and implementation of microservices with Restful API using Clojure
-
Design and
Use defrecord. People still can mess by using it as map, but it is a different
problem.
--
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 -
Typo?
(and cnt (pos? cnt))
--
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
Cut paste from my own code base:
(def ^:dynamic *db-conn*)
(defmacro with-db-connection [ body]
`(jdbc/with-db-connection [con# (get-db-conn)]
(binding [*db-conn* con#]
~@body)))
A few points. Do not give any value to the dynamic var, make it unbound and
make it fail early for
With Lispy languages, you can do whatever you want without worrying too
much about underlying web server, db, etc.
I use my own constructors like:
(define-crud-handler :employee [:path [customers cust-id sites site-id
employees] :auth-required? true]
{:collection {:create (employees-create
With Lispy languages, you can do whatever you want without worrying too
much about underlying web server, db, etc.
I use my own constructors like:
(define-crud-handler :employee [:path [customers cust-id sites site-id
employees] :auth-required? true]
{:collection {:create (employees-create
Dynohub, a Clojure DynamoDB client with transaction layer
https://github.com/ozjongwon/dynohub
Dynohub is a transperent DynamoDB client with a port of transaction
library(https://github.com/awslabs/dynamodb-transactions)
There are three layers of abstraction:
* Dynohub - a plain client
Even though I've written only one toy web framework in Clojure[1], (I
think) I know the difference.
Because there is documentation for use and ns, I'll add my own only :)
I interpret (use 'ns) as Use 'ns namespace within *current* namespace -
from your example, 'user'. Usually for REPL.
(ns
Hello
I've just released the first RC1 of my first Clojure toy project[1].
This is basically old style put tags in HTML and process such tags in
your code. I copied the idea from html-template[2].
Because this is my first Clojure coding effort, there might be
mistakes. Any comment and
No that doesn't make any sense, but I (think I) know what is going on
there.
(:a 1 2) === (get 1 :a 2)
Jong-won
On Nov 25, 1:35 pm, jaime xiejianm...@gmail.com wrote:
But we still don't know why it behaves like this and for what
reason. does (:a 1 2) returns 2 make any sense??
--
You
I'd expect the same, but in the code (https://github.com/clojure/
clojure/blob/master/src/jvm/clojure/lang/RT.java)
get and getFrom do not raise any error.
On Nov 24, 6:30 pm, Sean Corfield seancorfi...@gmail.com wrote:
(:a 1 2) yields 2 which surprises me a bit... I'd expect an error
because
Andreas, how're you doing? Frankly my impression of Clojure is just
like this posting.
You know usually with Common Lisp my common sense works - it provides
more than I expect. With Clojure I have to double check because my
expectation is more than Clojure provides, mostly.
And it ends up being
Hi
I'm wondering the best way to express:
(position #\a abba :from-end t)
Should I use interop?
(.lastIndexOf abba (int \a))
Thanks!
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
13 matches
Mail list logo