<wingo>also. trying to upgrade an old guix-on-ubuntu installation: <wingo>Migrating profile generations to '/var/guix/profiles/per-user/wingo'... <wingo>guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/wingo/current-guix" <civodul>wingo: that vaguely rings a bell about a bug from a few years ago though <sneek>civodul, you have 1 message! <sneek>civodul, ulfvonbelow says: the only places I can find git-checkout mentioned in the manual are in documenting --with-branch in 'package transformations' and source-file-name in 'invoking guix lint' ***civodul` is now known as civodul
***Furor is now known as Colere
<dsmith-work>drakonis: Probably off in module/system/base/ somewhere. <dsmith-work>drakonis: Guile has a "compiler tower". It might be in more than one place at different levels. <drakonis>though if i were to enable the usage of kernel derived scheme primitives, i'd have to be able to build kernel's primitives without scheme <dsmith-work>"In summary, a lambda is an abstraction that has many concrete representations. Guile will choose the cheapest representation that it can.' <dsmith-work>There was someone quite a few years back that put some kind of Scheme into Linux kernel. Maybe 10-15 years ago? <drakonis>the point is to make kernel's primitives and try to optimize them and then make a scheme based on it <drakonis>kernel has its own improvements on scheme's primitives <lloda>oh right this is the ultra dynamic one isn't it <drakonis>its also the "first class everything" one <drakonis>i might just make the primitives using the vm <drakonis>then make everything off that and figure out how to implement the optimization that collapses the primitives into a cached form <drakonis>lloda: it could probably be used to make a typed scheme? <drakonis>or not? this is a trek through guile's source <drakonis>if anything, it's probably hidden inside the vm <lloda>i think there's a continuum where the compiler is able to infer more and more about your program and eventually you get to add constraints and you get something pretty close to a typed system *lloda isn't a compiler writer <drakonis>module/language/tree-il.scm is where the parse tree lives <apteryx>what is the 'enum-set-universe' type useful for, in (rnrs enums) <apteryx>e.g, I define: (define-enumeration a11y-state? (contrast font keyboard read) a11y-state) Now I want to retrieve the list of accepted symbols, so I try: (enum->list (a11y-state)), but it fails, because (a11y-state) returns an enum-set-universe rather than an enum-set, IIUC. <apteryx>hmm, looks like a11y-state is an 'enum-set-constructor', which requires the list of the symbols subset to be passed as argument <apteryx>ah, this works: (enum-set->list (enum-set-universe (a11y-state)))