<Drup>
tlockney: if by "setting up" you mean "make it run on a linux on rasbpi", then there is nothing to do
<tlockney>
Drup: well, trying to get a full env running with utop and core installed
<Drup>
tlockney: just use opam
ygrek has quit [Ping timeout: 252 seconds]
<tlockney>
Drup: I am, but I keep running into various failures and then having to back track and clean up things. it gets messy if anything goes wrong, from what I can see so far
<Drup>
mrvn has done stuff for rasbpi, but it's more on the "bare metal" approach (which is obviously quite harder)
<tlockney>
lots of deps left in uncertain states
<tlockney>
ah, yeah — I think I was just looking at his code, actually
<tlockney>
so probably not what I need.
<tlockney>
though, I'll be playing with that eventually, too :)
<tlockney>
I hope
<Drup>
tlockney: if you speak french, there is a very recent presentation on OUPS about building some stuff on rasbpi
<tlockney>
sadly, I don't
<Drup>
(it's about building a mini-wake up alarm with radio through internet)
<tlockney>
I think I'm close to having everything installed, but getting out of memory errors trying to install core_kernel. going to mess with the swap and gpu memory config and see if that improves things
huza has quit [Quit: WeeChat 0.3.8]
<whitequark>
meh, typical for rpi
<Drup>
yeah ...
<whitequark>
quite an useless device
<Drup>
tbh, there is a simple solution
<Drup>
don't use core.
huza has joined #ocaml
tiglionabbit has quit [Quit: tiglionabbit]
<tlockney>
yeah, I know…. I'm still learning, though, and enough of the material I am interested in working through (I assume everyone knows what book I'm referring to) uses it, so…
<tlockney>
figured it would be fun to try, at least
<whitequark>
it's surprisingly easy to ignore the Core parts of RWO and just learn OCaml
SethTisue has joined #ocaml
<whitequark>
in fact I don't even remember feeling like I have to do anything with Core besides swearing after trying to install it at the very beginning of the book
huza has quit [Client Quit]
<tlockney>
whitequark: fair enough — it's still early enough in my efforts I wanted to stick to "the script". But I'll punt if I don't get past this in the near term
<whitequark>
tlockney: how about... not using rpi?
<whitequark>
I'm fairly certain you have some other computer besides that
<tlockney>
whitequark: because that would take away from the many layers of ridiculousness I'm trying to achieve here!
<tlockney>
;)
<tlockney>
yes, I have at least a few other computers, it's true
<tlockney>
but I have the pi and I wanted to do a few things with it, figured it would possibly be a good place to try out OCaml — it won't be the *only* place I'm using it, to be clear.
jeregrine has joined #ocaml
<Drup>
tlockney: start by the part that don't need a rpi directly :p
<tlockney>
you guys really are not a lot of fun, you know
<tlockney>
:-p
<tlockney>
(am I ingratiating myself to this community, yet?)
<whitequark>
we are, by which I mean, we have such a lot of "fun" to figure out, it doesn't really leave time to figure out someone else's...
* whitequark
grumbles at broken ppx_tools
rgrinberg has joined #ocaml
<tlockney>
oh, I know how that goes
<whitequark>
"fun" like in "Dwarf Fortress" ("losing is fun, and you can't not lose anyway")
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
asmanur has joined #ocaml
alpounet has joined #ocaml
yacks has quit [Read error: Connection reset by peer]
yacks has joined #ocaml
WraithM has joined #ocaml
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
Simn has joined #ocaml
ggole has joined #ocaml
Nahra` has quit [Remote host closed the connection]
Nahra has quit [Remote host closed the connection]
Nahra` has joined #ocaml
Nahra has joined #ocaml
<pyon>
I have Foo.ml and Bar.ml in the same directory. Inside Bar.ml, I use the module Foo. How do I load Bar.ml in the REPL in Tuareg? It complains that the name Foo is unbound.
<ggole>
Compile them and load the .cmos
<ggole>
Sending the module text in the repl doesn't really work since you lose module names
<ggole>
s/in/to/
<pyon>
Ah!
Nahra has quit [Remote host closed the connection]
Nahra` has quit [Remote host closed the connection]
<ggole>
As you can imagine that gets annoying pretty fast, so if you are working on a project (as opposed to exploring some throwaway code) you'll want your build system to automate building a toplevel
<pyon>
Yeah. I will have to write a makefile. :-)
<ggole>
If you use ocamlbuild, it has some support
<pyon>
Ah!
<ggole>
Basically you can list the modules names you want in toplevel.mltop and then ocamlbuild toplevel.top should do more or less the right thing
<pyon>
:-O
tiglionabbit has joined #ocaml
manizzle has joined #ocaml
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ivan\ has joined #ocaml
Hannibal_Smith has joined #ocaml
WraithM has quit [Ping timeout: 252 seconds]
Thooms has joined #ocaml
cago has joined #ocaml
ontologiae has joined #ocaml
Guest71091 has quit [Remote host closed the connection]
ontologiae has quit [Ping timeout: 240 seconds]
AltGr has joined #ocaml
dsheets has joined #ocaml
ygrek has quit [Ping timeout: 255 seconds]
rgrinberg has quit [Quit: Leaving.]
Nahra has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
ikaros has joined #ocaml
huza has quit [Ping timeout: 255 seconds]
Kakadu has joined #ocaml
<reynir>
Is it possible to include files in a .mltop file?
eikke__ has joined #ocaml
<reynir>
So, I have a .mltop for making a regular toplevel, but also one for making a utop toplevel. The latter is basically the former with an extra myutop_main module at the end.
ygrek has joined #ocaml
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
eikke__ has quit [Ping timeout: 252 seconds]
cago has quit [Ping timeout: 245 seconds]
eikke__ has joined #ocaml
cago has joined #ocaml
eizo has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
maattdd has joined #ocaml
arj has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Client Quit]
cago has quit [Quit: Leaving.]
cago has joined #ocaml
thomasga has joined #ocaml
tiglionabbit has quit [Quit: tiglionabbit]
rand000 has joined #ocaml
ygrek has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest80620
Guest80620 has quit [Ping timeout: 245 seconds]
huza has joined #ocaml
<ggole>
reynir: don't think so
<ggole>
And of course the ocamlbuild documentation doesn't mention mltop at all
<ggole>
Yeah, emacs has a thing for drawing those (which I used).
Guest91324 has quit [Ping timeout: 252 seconds]
manizzle has quit [Ping timeout: 240 seconds]
<ggole>
But ascii art is horrible: hard to edit, ugly, you have to be tediously precise to get it readable at all when the whole point is to make a quick sketch, etc
michael_lee has joined #ocaml
boogie has quit [Remote host closed the connection]
jeregrine has joined #ocaml
<whitequark>
"useless compiz plugins" you mean all of them?
<def`>
whitequark: left to the appreciation of the user :)
<ggole>
Do the flames move?
<def`>
I think so
<ggole>
(If not, it just ain't practical enough.)
<Drup>
It's more practical if the flame moves ? :D
<ggole>
What would be the point of frozen burning text?
jao has quit [Ping timeout: 264 seconds]
<def`>
Drup: of course it is, otherwise the region of interest might be less obvious for the reader
Puffin is now known as BitPuffin
tane has joined #ocaml
<reynir>
whitequark: Sorry, I don't know what I'm looking at :)
ccasin_ has joined #ocaml
alpounet has quit [Remote host closed the connection]
boogie has joined #ocaml
alpounet has joined #ocaml
philtor_ has joined #ocaml
morolin has joined #ocaml
maattdd has joined #ocaml
alpounet has quit [Ping timeout: 252 seconds]
lordkryss_ is now known as lordkryss
q66 has joined #ocaml
sheijk has quit [Quit: .]
ccasin_ has quit [Quit: Lost terminal]
maattdd has quit [Ping timeout: 258 seconds]
rgrinberg1 has joined #ocaml
rgrinberg has quit [Ping timeout: 265 seconds]
tiglionabbit has quit [Quit: tiglionabbit]
maattdd has joined #ocaml
ebzzry has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
maattdd has quit [Ping timeout: 245 seconds]
eizo has joined #ocaml
jaked122 has joined #ocaml
SethTisue has quit [Quit: SethTisue]
SethTisue has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
maattdd has joined #ocaml
jaked122 has quit [Remote host closed the connection]
tnguyen1 has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
jeregrine has quit [Ping timeout: 240 seconds]
jeregrine has joined #ocaml
dsheets has quit [Ping timeout: 265 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
divyanshu has quit [Quit: Computer has gone to sleep.]
manizzle has joined #ocaml
tiglionabbit has joined #ocaml
hhugo has quit [Quit: Leaving.]
Kakadu has quit [Ping timeout: 240 seconds]
olauzon has joined #ocaml
divyanshu has joined #ocaml
SethTisue has quit [Quit: SethTisue]
cesar_ has joined #ocaml
cesar_ is now known as Guest48872
SethTisue has joined #ocaml
WraithM has joined #ocaml
Guest48872 has quit [Ping timeout: 240 seconds]
SethTisue has quit [Quit: SethTisue]
SethTisue has joined #ocaml
axiles has quit [Ping timeout: 255 seconds]
axiles has joined #ocaml
jwatzman|work has joined #ocaml
bjorkintosh has quit [Remote host closed the connection]