Using core.logic to implement data strutures (CTMCP)

2014-02-14 Thread Juan Manuel Gimeno Illa
As a Xmas present I gave myself a copy of "Concepts, Teechniques and Models of Computer Programming" and I'm enjoying myself reading it. The book uses Oz/Mozart but I'm trying to translate some of the code in clojure. The first computation model is declarative and variables behave much as LVars

Re: Error using core.async version of into

2014-05-19 Thread Juan Manuel Gimeno Illa
The problem is that core.async defines some functions which are also defined in clojure.core. When now you invoke into, you are not referring to the clojure.core/into but to cosee.async/into which, if I remember right, takes a channel as first argument. If you want to use the clojure.core into,

Re: Error using core.async version of into

2014-05-20 Thread Juan Manuel Gimeno Illa
The repl indicates that current namespace is p1.core p1.core=> (into [:a] (list :b :c)) and I imagine in p1.core is where core.async is used or required + referred :all. Juan Manuel El martes, 20 de mayo de 2014 12:48:47 UTC+2, David Della Costa escribió: > > The question is why that is happe

Re: [ANN] core.async (and more) video tutorials

2014-05-23 Thread Juan Manuel Gimeno Illa
The videos look very good and seem very interesting. One idea: some video about how to create & configure a project in cursive would be helpful as well. Juan Manuel El viernes, 23 de mayo de 2014 05:56:45 UTC+2, tbc++ escribió: > > I'm using Cursive Clojure (Intelij). It has a "Presentation Mod

Re: [ANN] core.async (and more) video tutorials

2014-05-26 Thread Juan Manuel Gimeno Illa
Will there be a forum to ask questions about the videos? And will the code be available (although I think rewriting it may reforce learning sometimes I won't have the time)? Thanks !! Juan Manuel El jueves, 22 de mayo de 2014 00:32:55 UTC+2, tbc++ escribió: > > From time to time I get asked

Re: [ANN] core.async (and more) video tutorials

2014-05-27 Thread Juan Manuel Gimeno Illa
Seems strange. I get 0 downloads remaining for all the videos (both the free and the paid). Juan Manuel El martes, 27 de mayo de 2014 09:44:29 UTC+2, Las escribió: > > Hi, > > >> Btw When I click on the download video button, nothing gets downloaded. >> Tried on Firefox/Chrome - Mac. Is that a

Re: [ANN] core.async (and more) video tutorials

2014-05-27 Thread Juan Manuel Gimeno Illa
El martes, 27 de mayo de 2014 19:55:12 UTC+2, tbc++ escribió: > > Thanks for all the suggestions. > > 1) Yes, there seems to be an issue with downloading free videos. From what > I'm seeing in the admin settings I only have the option for "paid and > downloadable" and "free". Free disables the

Re: [ANN] core.async (and more) video tutorials

2014-05-30 Thread Juan Manuel Gimeno Illa
Where can we asks questions about de videos? Will the site create a kind of forum for it? Thanks. Juan Manuel PS: I've been having problems reproducing the behaviour of the code in the second episode on aync. El martes, 27 de mayo de 2014 19:55:12 UTC+2, tbc++ escribió: > > Thanks for all

Different behaviour of pipeline< in Baldridge video (async's episode 2)

2014-05-31 Thread Juan Manuel Gimeno Illa
First, congratulation for this wonderful series of videos. I'm having some problems reproducing the behaviour of your examples in episode 2 of the core.sync series. For instance, this example: (let [c (async/chan 10)] (>!! c 42) ( ["0" "3" "4" "5"] and if I change str number of proce