IRC channel logs

2017-09-20.log

back to list of logs

<dustyweb>hm
<dustyweb>we don't have a make-method any more
<dustyweb>though the docs claim we do :)
<daviid>dustyweb: is that so?
<daviid>I did not check, I thought it would be part of make check ...
<dustyweb>you still have (method ...)
<dustyweb>but it's a macro
<daviid>dustyweb: I thought make-method was part of the MOP, so it would not 'disapear'
<daviid>it's definitely in the manual
<daviid>dustyweb: in the men time you can use make
<daviid>make-method is a simple wrapper around make with metaclass <method>
<plugd>Hi everyone, is there a module that provides the MIT-Scheme syntax for implicitly defining higher order functions? I.e. (define ((c f g) x) (f (g x))) to define a composition function.
<plugd>(Chicken also allows this.)
<lloda>plugd: (ice-9 curried-definitions)
<lloda> https://www.gnu.org/software/guile/manual/html_node/Curried-Definitions.html
<plugd>lloda: thanks!
<lloda>yw
<OrangeShark>hello everyone
<bavier`>hello OrangeShark
<cmaloney>(tzag '())
<reed_>Hi all, I am currently learning the guile/C interface and would like to send a guile list to a c function. Is there a canonical way to do this?
<amz3`>tzag
<amz3`>idk sorry
<janneke>reed_: have tried calling a C function with a guile number/integer?
<reed_>janneke: I think I have figured it out. I can use the scm_car and scm_cdr functions in C to unpack the list.
<janneke>reed_: yes, for (; scm_is_pair (exp); exp = SCM_CDR (exp)) { .. }
<wingo>good evening
<cmaloney>\\m/
<dustyweb>hi
<daviid>hi dustyweb
<dustyweb>heya daviid
<dustyweb>wingo: turns out I have good use for your recent code for unifying GOOPS class structures and records structures
<daviid>and then ... we could patch match to accept <nonredefinable> instances ...