#haskell - Sat 21 Apr 2007 between 00:52 and 00:58



allbery_bexcept that csh and derivatives are extensions of the v6 Unix Mashey shell
SamBbecause I'm pretty sure ken had a shell
Philippawhat did BCPL and B use?
syntaxfreeyou can't have a storage-based Eq instance for functions unless you have some reflexivity, which in turn requires a dynamic language. True or false?
SamBeven way back in the days before the directories formed a tree!
when they were a directed graph
allbery_byes, but they did a new shell for each release, more or less
monochromreflexivity? reflection?
SamBbefore fork(2), even!
allbery_bthus Bourne's v7 shell was not very similar to Mashey's v6 shell
monochromstorage-based Eq = look at addresses?
syntaxfreeSamB: how do directories form a directed graph?
ski(the only irritating thing is that we don't use '=' for "comparision" equality, as well .. but Prolog and Mercury does that)
syntaxfreemonochrom: yep.
actionallbery_b is trying to remember how BCPL worked
allbery_bis trying to remember how BCPL worked
SamBsyntaxfree: well, you neglect to have a hierarchical structure
syntaxfreeoh.
monochromOK. No need for dynamic. Just need some exposure of the current addresses.
syntaxfreethat's ... cool.
SamBand just have the directory links in each directory point wherever you like
syntaxfreemonochrom: can Haskell ever have that?
sorearmonochrom: doesn't java "fix" the problem by not allowing = as a operator, only at top level?
syntaxfree: sure, lok at GHC.Prim.reallyUnsafePtrEq#
syntaxfreeSamB: wow. But doesn't ln -s achieve that?
sorearthat will work at function types
allbery_bI think = was used for assignment and == for equality --- but = wasn't used in top level declarations
SamBsyntaxfree: that is only symlinks
sorearsyntaxfree: symbolic links are just references,
we're talking hard links
SamBI think you had to make your own .. in those days
monochromNote: during evaluation of "f==f", first load address of f, then --- GC kicks in! moves f around! --- load address of f second time, hmm the two are different, unequal!
Java sidesteps this by probably another level of indirection.
sorearSamB: were files GC'd, or did the admin have to periodically reap them by hand?
allbery_byeh, in early Unix there was no requirement that directories link together in a sane way. this made filesystem validation rather difficult, though, so it was restricted to a DAG
SamBsorear: I have no idea
I'm not that much older than you, you know ;-P
sorearmonochrom: no, the problem doesn't exist in Haskell or Java
monochromReally!
sorearmonochrom: since the gc fixes addresses when it moves stuff
allbery_bin v7 unix and earlier, there was no mkdir system call.

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 

IrcArchive