[2017-03-10 05:46] Thien-Thi Nguyen
> () Dmitry Bogatov
> () Mon, 18 Jul 2016 20:59:03 +0300
>
>> > +(define-module (system foreign declarative)
>> > + #:export (make-foreign-type)
>> > + #:export (define-foreign-type))
>> > +(use-m
> > Seems that 'scheme-bytestructures' can be used to implement something like
> > `define-foreign-struct', but since it is not currently part of Guile, I,
> > sure,
> > can't depend on it.
> >
> > Also, 'parse-c-struct' provides similiar functionality.
>
> I was keeping an eye on this thread bec
[2016-07-18 21:41] Amirouche Boubekki
>
> On 2016-07-18 17:17, kact...@gnu.org wrote:
> > From: Dmitry Bogatov
> >
> > Document '' record type and 'define-foreign-type'
> > procedure.
>
> Can you compare this 'foreign-type' libra
> > +(define-module (system foreign declarative)
> > + #:export (make-foreign-type)
> > + #:export (define-foreign-type))
> > +(use-modules (srfi srfi-9))
> You don't have to write #:export several times, one just enough
> #:export (make-foreign-type define-foreign-type)
Thanks for review. I kn
regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
From d91eb9293bea7783afa8270c1826dc558c7380da Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov
Date: Wed, 13 Aug 2014 10:13:25 +0400
Subject: [PATCH] Improve guile-site handling in autoconf
* meta
* Dmitry Bogatov [2014-04-10 20:52:43+0400]
> > > + {
> > > + free (nargv);
> > > return 0L;
> > > + }
> > > else
> > > nargv[nargi++] = narg;
> > I don't understand this. In both c
void *new_ptr = realloc(old_ptr, new_size);
if (!new_ptr)
free(old_ptr);
return new_ptr;
}
Suggestions, maybe more conventional name?
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
git://kaction.name/rc-files.git
GPG: 54B7F00D
-9/curried-definitions.scm;h=fa369906ccd222b6aa2f3692f17638ca02eb2a41;hb=HEAD
Thanks! I already found working solution, but your is cleaner.
--
Best regards, Dmitry Bogatov ,
Free Software supporter and netiquette guardian.
git clone git://kaction.name/rc-files.git --depth 1
GPG: 54B7F0
`(vm-run "VM: Stack overflow" ())'.
aborted
--
Best regards, Dmitry Bogatov ,
Free Software supporter and netiquette guardian.
git clone git://kaction.name/rc-files.git --depth 1
GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.
ssible to separate
actual english documentation string and doctests. Displaying them
in (help function-name) may be turned off or, imho (since I like examples
in documentation), better, made optional.
--
Best regards, Dmitry Bogatov ,
Free Software supporter and netiquette guardian.
of Guile. If it possible, I would like to put my code to public domain
to avoid legal issues.
Code review is welcome.
quoted-printable.scm
Description: code
--
Best regards, Dmitry Bogatov ,
Free Software supporter and netiquette guardian.
git clone git://kaction.name/rc-files.git
I do not have to create a lot of foo-make-thing, foo-make-other
functions with, essentially, elisp or C naming conventions.
I still do not have feeling of functionality paradigm of Lisp, so I am
trying to use object-oriented paradigm. Probably, it is aganist spirit
of language.
--
Best regards,
most common style
is `(action object arg1 ...)` and I find making object callable is more
elegant: `(object #:action arg1 ...)`. Is it discouraged?
1. http://www.swig.org/
2. http://www.ulduzsoft.com/linux/libircclient/
--
Best regards, Dmitry Bogatov ,
Free Software supporter and netiquette
* Mark H Weaver [2013-03-23 13:53:42-0400]
> Dmitry Bogatov writes:
> > Hello, list. I encountered following error, trying to build guile
> > from git with `makeinfo (GNU texinfo) 5.1`.
>
> I believe these problems have been fixed on the stable-2.0 branch of the
> Guile
2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/share/arch-illusionoflife/build/guile-git/src/guile-build/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/share/arch-illusionoflife/build/guile-git/src/guile-build'
make: ***
15 matches
Mail list logo