I'm thinking of making a game in Clojure for this competition:
http://lispinsummerprojects.org/.
However, I'm not sure if the best way to go is HTML5 with ClojureScript or
a Java applet
More specifically, I'd like to do HTML5, but am unsure of the current
capabilities of ClojureScript.
An
Or... what about abstracting away the graphics/audio/input and doing both?
On Friday, 24 May 2013 05:22:20 UTC-4, JvJ wrote:
>
> I'm thinking of making a game in Clojure for this competition:
> http://lispinsummerprojects.org/.
>
> However, I'm not sure if the bes
ook !
>>
>> Cheers,
>>
>> Jeremy.
>>
>>
>> [1]
>> http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/<http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/>
>> [2]
>> https://github.com/ibdknox/ChromaShift<
ng for but I think it can be
>> interesting to take look !
>>
>> Cheers,
>>
>> Jeremy.
>>
>>
>> [1]
>> http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/<http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/>
>> [2]
; Looks pretty flexible, can do HTML5 games with WebGL as well as Android,
> iOS and desktop. It's also Java based so should be pretty easy to use from
> Clojure.
>
> On Friday, 24 May 2013 17:22:20 UTC+8, JvJ wrote:
>>
>> I'm thinking of making a game in Clojure
easy to use from
> Clojure.
>
> On Friday, 24 May 2013 17:22:20 UTC+8, JvJ wrote:
>>
>> I'm thinking of making a game in Clojure for this competition:
>> http://lispinsummerprojects.org/.
>>
>> However, I'm not sure if the best way to go is HTML5 wi
I am more or less terrible at Maven, but I'm OK with Leiningen. Given that
I have some information about a Maven repository (
https://code.google.com/p/libgdx/wiki/MavenProjectSetup#Maven_Archetype),
how do I use it with Leiningen?
Thanks
--
--
You received this message because you are subsc
I could be wrong, but I believe that symbols and vars are separate
entities.
f1 is a symbol which is associated with a var that contains the function.
When you evaluate the symbol 'f1, it looks at the association to find the
var.
It looks like, when you define f2 and f3 to take on those var
Actually, I spoke WAY too soon.
It looks like it has to do with the way that Var is cast to IFn.
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Var.java
Check out lines 391 and 410. When invoked, the result of fn() is invoked.
fn() casts deref() (the data contained by the
Additionally, we can make the chain into a loop.
(defn f1 [] 42)
(def f2 #'f1)
(def f3 #'f2)
(def f1 #'f3)
(f3) ==> stack overflow
On Sunday, 26 May 2013 18:18:57 UTC-4, JvJ wrote:
>
> Actually, I spoke WAY too soon.
>
> It looks like it has to do with t
:
>
> Cool; thanks. That's an implementation-level explanation, which is fine
> as far as it goes.
>
> Can anyone point at a specification-level explanation?
>
>
> On Sunday, 26 May 2013 23:18:57 UTC+1, JvJ wrote:
>>
>> Actually, I spoke WAY too soon.
>
Wowwee zowee that's a lot of code. Thanks.
On Saturday, 25 May 2013 22:02:07 UTC-4, JvJ wrote:
>
> I am more or less terrible at Maven, but I'm OK with Leiningen. Given
> that I have some information about a Maven repository (
> https://code.google.com/p/libgdx/
> (update-entity entity [:pos] inc)
> (assoc :key value))
>
> On Saturday, May 25, 2013 10:21:26 PM UTC+2, JvJ wrote:
>>
>> The combination of CES and LibGDX seems intriguing. I think I'd like to
>> go with that.
>>
>> Stephen, how would you feel abou
-dims
> @keys-down delta-in-s))
> (let [things-to-draw (logic/rendering-commands
> @game-state)]
> (.glClear (Gdx/gl) GL10/GL_COLOR_BUFFER_BIT)
> (.enableBlending @batch)
> (.begin @batch)
> (doseq [thi
[com.badlogic.gdx/gdx-backend-lwjgl "0.9.9"]])
>
> In my first answer, I forgot to mention that you have to add the
> repository.
>
> On Wednesday, May 29, 2013 9:39:10 AM UTC+2, JvJ wrote:
>>
>> Hey man. Do you have any advice on how to deal with native depend
What is the output if you delete the folder .m2 in your home folder and
> then call lein deps?
>
> On Wednesday, May 29, 2013 10:16:14 AM UTC+2, JvJ wrote:
>>
>> Unfortunately, same problem:
>>
>> Unable to read file for extraction: gdx.dll
>> [Thro
Consider the following:
(let [ [&{:keys [] :as m}] [:a 1 :b 2 :c 3]]
m)
==> {:a 1 :b 2 :c 3}
Is there a shorter form of [&{:keys [] :as m}]?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@goog
Well... I'm a dingus.
[&{:as m}]
On Thursday, 6 June 2013 15:23:22 UTC-4, JvJ wrote:
>
> Consider the following:
>
> (let [ [&{:keys [] :as m}] [:a 1 :b 2 :c 3]]
> m)
>
> ==> {:a 1 :b 2 :c 3}
>
> Is there a shorter form of [&{:keys [] :as m}
I just realized it after I posted, but thanks for the help anyways.
On Thursday, 6 June 2013 15:27:28 UTC-4, Jim foo.bar wrote:
>
> On 06/06/13 20:23, JvJ wrote:
> > Is there a shorter form of [&{:keys [] :as m}]?
>
> if you don't care about the actual keys j
I'm currently writing an interactive application (game programming
environment) that can be controlled by commands from the REPL. However,
I'm wondering what it would take to integrate commands into the text editor
itself, or to allow the editor to be controlled to a certain extent by the
app
I'm trying to use a domonad block with the state monad, and I'm running
into trouble chaining together multiple monadic instructions.
Take this for example:
;; This block of code fetches the value from :a in the state,
;; and then associates a new value for :b if :a is set.
(domonad state-m
[a
Thursday, July 11, 2013 2:18:44 PM UTC-7, Ben wrote:
>
> Is it not possible just to put another domonad block in the true branch of
> the if? Alternately, it should be possible to do it with an explicit bind
> operation.
>
>
> On Thu, Jul 11, 2013 at 2:11 PM, JvJ >wrote:
Not that it's a big deal, but is there a standard library function for
#(not (not %))?
--
--
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 -
By the way, this is already in contrib:
http://clojuredocs.org/clojure_contrib/clojure.contrib.map-utils/deep-merge-with
On Wednesday, July 17, 2013 5:42:24 AM UTC-7, Chris Gill wrote:
>
> Thank you for finding and posting this! Been wracking my brain trying to
> figure out a good way to do a fu
Lately, I've been working on games with Clojure and LibGDX. However, many
of the advantages of interactive development are not present, because
LibGDX apps are built around Java development, and don't work well if you
try to run multiple apps within a single program (i.e. from the REPL).
Penum
1) Phonegap seems like it just makes HTML5. So, does it work with android,
IOS, and desktop?
2) I haven't done much clj-script development. What's the REPL situation
like with that?
3) Nice job using PITA in that sense.
On Wednesday, 17 July 2013 16:30:08 UTC-7, Chris Bui wrote:
>
> I haven't
I'd like to be able to define some custom emacs commands that send clojure
code strings to a running repl, and to which I could attach key bindings.
Does anyone know an easy way to do this?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To pos
Does anyone know of any good books on DSL design, in Clojure or any other
Lisp?
--
--
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
Thanks. Mostly, I'm looking for something that's about design principles
rather than a "how-to". I figure I might as well get educated before I
just dive blindly in.
On Thursday, 18 July 2013 13:30:06 UTC-7, JvJ wrote:
>
> Does anyone know of any good books on DSL
I'm not 100% on how the data_readers.clj file works. It's just a map with
no namespace that appears to get loaded by some kind of black magic.
Is it possible to provide a library which includes its reader macros, so
that the library user's project doesn't need to include their own
data_readers
"Facades and workarounds for things that are more difficult than they
should be." Very nice.
On Friday, 19 July 2013 13:06:50 UTC-7, JvJ wrote:
>
> I'm creating a library with a lot of available functions in a lot of
> different namespaces, and I'd like many of the
I'm creating a library with a lot of available functions in a lot of
different namespaces, and I'd like many of them to be available to users of
the library without having to specify a number of different import
statements.
Is there a way to have the core namespace 'export' the other namespaces
es, then it needs to include them in its
> data_readers.clj file.
>
> -S
>
>
> On Friday, July 19, 2013 4:08:54 PM UTC-4, JvJ wrote:
>>
>> I'm not 100% on how the data_readers.clj file works. It's just a map
>> with no namespace that appears to get loa
I tried to define this record, but the Vec2. constructor doesn't exist yet.
How can I use the constructor inside the record's method?
(defrecord Vec2 [x y]
Vector
(mag [this]
(Math/sqrt
(+ (* x x) (* y y
(v+ [this] this)
(v+ [this other]
(Vec2. (+ (:x this) (
I figured it out. I assumed it was some quirk with defrecord, but it was
an arity exception. Didn't pass 2 params to the ctor.
DERP!
;; This is the right way:
(Vec2. (+ (:x this) (:x other))
(+ (:y this) (:y other)))
On Wednesday, 31 July 2013 17:51:36 UTC-7, JvJ wrote:
>
&
I'm looking for an associative data structure that can be accessed by both
rows and columns, and could potentially be sparse.
Suppose the following table is called t:
| | :A | :B | :C ||---+--+--+--|| 1 | | |
'[x y z] || 2 | "2a" | "2b" | || 3 |
but setting
a column seems like an inefficient operation. I don't know how much I'll be
using that.
On Thursday, 1 August 2013 17:59:40 UTC-7, JvJ wrote:
>
> I'm looking for an associative data structure that can be accessed by both
> rows and columns, and
Is there a way to do a regex search over an entire file without loading the
file into memory?
--
--
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 moder
line by line lazily.
>
> On Monday, August 12, 2013 4:25:15 PM UTC-7, JvJ wrote:
>>
>> Is there a way to do a regex search over an entire file without loading
>> the file into memory?
>>
>
--
--
You received this message because you are subscribed to the Google
I feel like this question has been asked about a trillion times, but I was
having a hard time finding a straight answer. Is there a really
straightforward way in the standard library or in one of the contrib
libraries to do something like this:
(nested-map inc '(1 (2 3) (4 (5 (6) ===> '(2 (
I suppose that works, but it seems a little inelegant to do this:
(prewalk #(if (sequential? %) % (f %)) xs)
instead of just
(prewalk f xs)
On Tuesday, 27 August 2013 20:06:38 UTC-7, gfredericks wrote:
>
> Clojure.walk
> On Aug 27, 2013 10:05 PM, "JvJ" > wrote:
>
>>
Although semicolons cause the text color to change in order to look
"commented-out", the #_ reader macro doesn't cause any such change. Is
this intended, or is it a bug?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, sen
I wonder if the somewhat counterintuitive concept of a "named anonymous
function" eludes some people, or isn't properly conveyed in tutorials.
On Tuesday, 27 August 2013 00:36:07 UTC-7, HamsterofDeath wrote:
> thx
>
>
> 2013/8/26 Marshall Bockrath-Vandegrift >
>
>> Dennis Haupt > writes:
>>
>> >
I've noticed that, when doing a lot of Java interop, it's impossible to
attach metadata to most Java objects, since they don't implement the IMeta
interface. A workaround for this would be to do something like put every
Java object in a single-element list and attach metadata to the list, but
I'm working on a multithreaded program, and debugging in the repl is very
hard. Every time an exception occurs, the thread either shuts down or
deals with it in some other way. Is there a way I can get the REPL to
intercept the exception and display it?
--
--
You received this message beca
What's the compatibility with the REPL like? Is there anything like a
type-checked REPL initialization, or automatic type checking when loading a
namespace?
On Tuesday, 3 September 2013 11:18:04 UTC-7, Ambrose Bonnaire-Sergeant
wrote:
> Hi,
>
> Announcing lein typed, a tool to use core.typed
I'm having some issues working with CLJS and Light table. I've found a few
things online, but never a single end-to-end setup. Does anyone have any
advice on setting up, beginning with lein, ending with repl-browser
connection in light table?
Thanks.
--
You received this message because you
Actually, the problem seems to be fixed. I used the lein figwheel template
and that seems to work well.
On Friday, 20 February 2015 14:52:15 UTC-8, Sam Ritchie wrote:
>
> What issues are you having?
>
> JvJ
> February 20, 2015 at 2:17 PM
> I'm having some issues work
Does anyone know if there exists a paper/web page describing in detail how
each of Clojure's data structures are implemented?
--
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 post
Any plans for cljs support?
On Monday, 23 May 2016 07:12:29 UTC-7, Rich Hickey wrote:
>
> Introducing clojure.spec
>
> I'm happy to introduce today clojure.spec, a new core library and support
> for data and function specifications in Clojure.
>
> Better communication
>
> Clojure is a dynamic
Approximate ETA for this, if known?
On Wednesday, 25 May 2016 09:08:29 UTC-7, Alex Miller wrote:
>
> Coming.
>
> On Wednesday, May 25, 2016 at 10:59:52 AM UTC-5, JvJ wrote:
>>
>> Any plans for cljs support?
>>
>
--
You received this message because you ar
Is it possible to configure Leiningen to run a 32-bit JVM by default? I've
already tried changing the LEIN_CMD and JAVA_HOME to the x86 executable paths,
but it still runs the amd64 JVM.
Any tips? I'm doing this for overtone, since it doesn't support amd64 on
Windows.
--
You received this m
wrote:
>
> I think you need to set LEIN_JAVA_CMD to affect the jvm actually used to
> start leiningen itself.
>
> On Tue, Jul 5, 2016 at 9:35 AM, JvJ >
> wrote:
>
>> Is it possible to configure Leiningen to run a 32-bit JVM by default?
>> I've already tr
My solution was to dual-boot linux. I think it's about time anyway.
On Tuesday, 5 July 2016 12:17:02 UTC-7, JvJ wrote:
>
> I think when I wrote LEIN_CMD, I meant LEIN_JAVA_CMD. I've already set it
> to the x86 JVM path, with no luck so far.
>
> (System/getProperty
I'm experimenting with using core.async with game scripting. For testing
purposes, I put together a small sketch with quil.
The issue I'm having is that the quil sketch's draw function seems to break
whenever the http://groups.google.com/group/clojure?hl=en
---
You received this message becaus
Pretty good. However: In chapter 1, you might want to clear up the fact
that 7*8 is 7 x 8 early on. Kids may not be familiar with the * as a
multiplication symbol. I realize it's explained later, but it's better to
avoid confusion beforehand.
On Tuesday, 2 August 2016 10:52:30 UTC-7, Mars0i
I'm trying to develop a small multiplayer in-browser card game (simple 2d
garphics), but I don't have a lot of experience in web app development.
I'll probably be handling client-server communication with Node.js.
I do have experience with functional programming, so I was looking into
things
Wow! An unexpected number of resources on exactly what I'm looking for!
Thanks!
... but I am somehow surprised that someone could mention both Clojure and
the Undead without using term "Macronomicon".
On Monday, 21 September 2015 06:52:24 UTC-7, Gijs S. wrote:
>
> I have no experience with El
Also, I noticed that http-kit is being used in the zombie game tutorial.
How does that stack up against node in terms of capability?
On Monday, 21 September 2015 21:22:51 UTC-7, JvJ wrote:
> Wow! An unexpected number of resources on exactly what I'm looking for!
> Thanks!
>
Hi,
Maybe this topic has already been addressed, but if it has been, I couldn't
find it.
When using cider, I tend to user C-c C-l a lot to reload my namespaces as
I'm writing them.
Is there an easy way to incorporate type-checking into this process? A
load-file-and-typecheck command?
I've a
Lars, thanks for telling me about squiggly-clojure. It seems great.
Do you know if there's a way to get it to work with cljc and/or cljs files?
Currently, it only seems to work with clj files.
On Thursday, 24 September 2015 13:36:07 UTC-7, JvJ wrote:
>
> Hi,
>
> Maybe this
I just discovered clojure.data/diff, and it's great. However, I'm not sure
how to recombine the results to get back the original.
For instance, if (diff a b) = c, then how can I combine b and c to get back
to a?
--
You received this message because you are subscribed to the Google
Groups "Clo
Merge isn't recursive on substructures.
--
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 unsubscr
DNS clients happen to be my job. If you can't find one, maybe I'll conttibute
to something.
--
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
Hi, I'm starting a web app with compojure and http-kit. I would like to
have one request redirect to another page, but I'm not sure how:
(defroutes app
(GET "/ws" ws-handler) ; Websocket connection
(GET "/user/:id" [id] ;; I want to redirect to index.html?user=id
)
(resources "/"))
Is it possible to create a core.async channel that has one input and
simultaneously delivers the same message to multiple endpoints?
--
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 th
Reposting from the core.typed google group. Didn't get a response.
I'm just starting with core.typed, and I can't seem to get it to work
properly in the REPL.
I start by defining an alias (Fhtagn), but when I later try to type-check
it, the name "Fhtagn" is unresolved.
Am I using it wrong, or
I've been writing some cljc files lately, and importing the clj/cljs
versions of particular libraries is becoming somewhat difficult.
I usually have to do some complicated reader-conditionals like this:
(ns my-ns
(:require #?(:clj [clojure.core.typed :as t :refer [ann defalias Int]]
I've been attempting to use expectations and emacs expectations-mode to run
test on namespaces. However, when I attempt to execute tests in
expectations mode, I get the following error message:
expectations-eval: Symbol’s function definition is void: nrepl-send-string
I'm not sure if this has
I've recently started using prismatic schema, and I'm attempting to define
a schema for a map data structure.
I understand that it is possible to use a schema to define the types of
both keys and values in the map, like so:
(def my-map {key-schema val-schema})
However, I would like to use th
That is exactly what I am looking for!
--
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 unsubscri
Do you know if there's a way to identify the particular key that failed in
the error message?
On Saturday, 16 January 2016 02:01:49 UTC-8, JvJ wrote:
>
> That is exactly what I am looking for!
--
You received this message because you are subscribed to the Google
Groups "Clojure
Hello,
I understand that Prismatic Schema has a means of annotating defmethod, but
what should I do about defmulti?
Thanks
--
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
Is there a way of checking to see if something is a channel? Does it work
in both clj and cljs?
--
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 modera
buried inside right
> now:
>
> clojure.core.async.impl.protocols/closed?
>
> On Sunday, January 17, 2016 at 10:53:57 PM UTC-6, JvJ wrote:
>>
>> Is there a way of checking to see if something is a channel? Does it
>> work in both clj and cljs?
>>
>
--
You
I'm extending def macros, and I would like to know if there is an easy way
to handle parsing the complex parameter lists that can be passed into these
macros.
For example, defn has a parameter list something like the following:
[name doc-string? attr-map? arg-vec pre-post-map? & body]
There a
t not the
> outputs)
>
> Hope this helps,
> Jason
>
>
>
>
> On Sunday, January 17, 2016 at 12:29:43 AM UTC, JvJ wrote:
>>
>> Hello,
>>
>> I understand that Prismatic Schema has a means of annotating defmethod,
>> but what should I do about defmult
With the syntax quote, all symbols become namespace-qualified. (I.e `a =>
user/a, `def=> clojure.core/def)
Is there a way to determine how a given symbol would be qualified in the
current environment, and to find out what it's implicit namespace would be?
--
You received this message because
meta) (:ns) (.name) (name)))
(-> *ns* (.name) (name)))
nme (name sym)]
(symbol ns nme)))
On Wednesday, 20 January 2016 08:36:49 UTC-8, kovasb wrote:
>
> Are you looking for https://clojuredocs.org/clojure.core/resolve ?
>
>
> On Wed, Jan 20, 2016 at 3:
Is there a way to dynamically check whether or not a given function
qualifies as a ring handler?
--
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 modera
I'm working on a web app, and I'm using defroutes to define my application
and runserver to initialize it. However, when run-server is called, I
can't find a way to run code before the app starts listening for requests.
I'd like to start a background async process that can interact with
incom
I'm just starting to use ring/compojure to create web apps.
One thing I would like to do is have an updatable collection of apps that
can be accessed based on the URL input.
For example, if I have an app named "foo", then website.com/foo would
redirect to that app.
So far, I have the following
I've been using Schema, and there's a kind of type definition that I'm
having trouble with. I'm not sure exactly how to describe it, so I'll
provide an example.
I'm working on a digital card game in which there are numerous zones that a
card may be in. Each card needs to know which zone it i
I've been using Schema, and there's a kind of type definition that I'm
having trouble with. I'm not sure exactly how to describe it, so I'll
provide an example.
I'm working on a digital card game in which there are numerous zones that a
card may be in. Each card needs to know which zone it is
I've noticed that there is the function "both" in Schema.
Both says that it can be replaced by conditional, but I'm not sure exactly
how to go about doing this.
Can someone provide an example?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Clojure" group
(def Zone:Deck
>> ...)
>>
>> (def Zone
>> (s/conditional
>> #(= (:type %) :Hand) Zone:Hand
>> #(= (:type %) :Deck) Zone:Deck
>> ...))
>>
>> Does that help?
>>
>> On Saturday, March 5, 2016 at 6:58:31 PM UTC-5, JvJ wrote:
>>>
&
ter error
> messages (since it validates long before odd?). I think there are some
> examples in the readme.
>
> If this isn't what you're looking for, can you please provide some more
> details of your use case?
>
> Thanks,
> Jason
>
>
>
> On
anding correctly, this sounds like a
> `schema.experimental.abstract-map-schema` to me (it's basically shorthand
> for what Bobby suggests) . There's an example in the readme.
>
> Best, Jason
>
> On Sunday, March 6, 2016 at 5:28:31 AM UTC+5:30, JvJ wrote:
>>
>
So far, this appears to be primarily focused on style and programming
practice. Is that going to be the primary focus of the book?
On Thursday, 17 March 2016 10:47:55 UTC-7, Zach Tellman wrote:
>
> I'm writing a book about Clojure, aimed at people who already know the
> core concepts, and want
I downloaded a new emacs config
(https://github.com/clojure-emacs/example-config), and it appears to be
using company for auto-completion. However, the autocomplete never works.
I get the following error each time:
Error while checking syntax automatically: (void-function seq-find) [2
times
Solved by adding the seq-library to my load
path: https://github.com/NicolasPetton/seq.el
On Saturday, 19 March 2016 15:13:40 UTC-7, JvJ wrote:
>
> I downloaded a new emacs config (
> https://github.com/clojure-emacs/example-config), and it appears to be
> using company for aut
Something unusual happens when I'm writing macros while in modes cider and
ClojureC with autocomplete enabled.
I have a macro derive-component (definition is too long to put in here).
When I attempt to use this macro, as follows:
;; s refers to schema.core in this context
(derive-component
When using functions with schema type signatures for reduce, I run into
output schema errors whenever I try to short-circuit the reducing operation
by wrapping the return value in reduced. How can I modify the type
signature so that it accepts output values of types A and (reduced A)?
--
You
Lately, I've been working on a game in Clojure, and I've been trying out
various ways of modelling the game state and objects.
One of these ideas is to give each object its own channel and make a fully
asynchronous architecture.
I would like to know if having potentially hundreds of channels o
Is there a date/time library that is written for both clojure and
clojurescript?
--
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
OK. As long as a single import in a cljc will suffice.
On Sunday, 3 April 2016 21:20:54 UTC-7, Sean Corfield wrote:
>
> On 4/3/16, 7:36 PM, "JvJ" on
> behalf of kfjwh...@gmail.com > wrote:
> > Is there a date/time library that is written for both clojure and
&g
r use
> case.
>
> On Saturday, April 2, 2016 at 7:59:50 PM UTC-7, JvJ wrote:
>>
>>
>> Lately, I've been working on a game in Clojure, and I've been trying out
>> various ways of modelling the game state and objects.
>>
>> One of these ideas is to
Is there any plan in the future to have clojure (or some dialect of
clojure) compile to webassembly? I can't say for sure if it is the "next
big thing" for the web, but it is a very interesting concept.
I suppose that, if Java bytecode could cross-compile to Webassembly, we
would essentially g
It seems to do rather well.
On Wednesday, 6 April 2016 08:29:07 UTC-7, Francis Avila wrote:
>
> On Monday, April 4, 2016 at 6:30:07 PM UTC-5, Howard M. Lewis Ship wrote:
>>
>> David Nolen had an early ClojureScript core.async demo with thousands of
>> channels, controlling individual pixels.
>>
>
I'm writing a cross-platform app. One of the macros I use takes a symbol
as a parameter, and I want to make sure that I can obtain a fully qualified
version of that symbol.
For example, if I have the following environment:
(ns foo
--
You received this message because you are subscribed to th
1 - 100 of 289 matches
Mail list logo