--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
The clojure way seems to be to do as much as possible with functions
on raw (immutable) data, rather than building up object systems. The
sequence is already one of clojure's primary abstractions, and it may
not always *need* to wrapped in something like defrecord. (Though for
some applications, I'm sure it will.)
Please don't store important information (like equality-relevant
information) in metadata, that's not what metadata is for. (Ignore
this if I misunderstand you)
--
Moritz Ulrich
Programmer, Student, Almost normal Guy
Perhaps R's excellent bioconductor project could be mapped nicely into Incanter (Clojure's R) ?
Edmund
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
Edmund
Don't use records or protocols or structs or metadata or
anything fancy, just regular old maps. For modeling sequential data,
like DNA base pairs, use vectors. Then create a series of functions
to read these things in, write them out, and perform some different
transformations. Don't worry so much about where or how in memory you
are going to "store" stuff. Just write a library of functions that
can read, write and manipulate your objects of interest. That's
pretty much a functional library, and you'll surprise yourself how
much can be done in this way.
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
--