Hello!
At request of Ludovic Courtès I anounce, that I no longer work on Guile-Bash
-- library to create bash functions in Guile. Existing code located here:
https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/
Feel free to adopt. I would be glad if it will serve to F
om/kaction/deb-guile-bash
I am very interested in your opinions.
[please keep me in CC]
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
pgpL4l1W5Znjo.pgp
Description: PGP signature
> What do you mean by “simple module”?
Just example code, without any other possible interferring code.
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
pgpvujJNzakXQ.pgp
Description: PGP signature
nd behaves as it should.
Maybe you have some wild guess about class being defined not via macro?
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
pgp6yG42DCGQS.pgp
Description: PGP signature
cons provided)
(define-ffi-object name #:encoder encoder #:decoder decoder #:size (sizeof
(quote *))
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
pgpwJEnUPjYcb.pgp
Description: PGP signature
flag to `http-get` to examine headers before downloading, and if
I decide to download, get data from port via `get-bytevector` function
family. This way you also can examine first several bytes before decide,
whether file is needed, if headers information is not sufficient.
--
Best regards, Dmitry Bo
mbda () (http-get (string->uri *url*)))
(lambda (res-headers res-body)
(with-output-to-file "some.tar.gz"
(lambda () (put-bytevector (current-output-port) res-body))
#:binary #t)))
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
pgpKOUQ7b020E.pgp
Description: PGP signature
icate. Is it by design?
It seems, than syntax->datum is no-op on non-syntax objects.
Can I rely on it?
Thanks in advance.
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
git://kaction.name/rc-files.git
GPG: 54B7F00D
pgpBug7tid1vE.pg
for any two
> occurrences of a given symbol. Therefore, there's no way to associate
> source location information with each copy of the same symbol.
Thanks for clarification.
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
git://kaction.name/rc-files.git
GPG: 54B7F00D
pgp_EaoX7EWOA.pgp
Description: PGP signature
U Guile) 2.0.9
Linux localhost 3.14.0-gnu #8 SMP Sat Apr 12 11:56:49 MSK 2014 x86_64 Intel(R)
Core(TM) i7 CPU Q 740 @ 1.73GHz GenuineIntel GNU/Linux
Any suggestions or workarounds?
--
Best regards, Dmitry Bogatov ,
Free Software supporter, esperantisto and netiquette guardian.
git://ka
manual (not too long reading) at
http://www.gnu.org/software/thales/manual
and download from ftp:
https://ftp.gnu.org/gnu/thales/thales-1.99.tar.gz
https://ftp.gnu.org/gnu/thales/thales-1.99.tar.gz.sig
Feedback and ideas are welcome. What about QuickCheck properties?
--
Best regards, Dmitry Bogatov
; primitive.
Thanks for replies. These functions will be in use.
--
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
Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov
Date: Tue, 22 Oct 2013 15:56:43 +0400
Subject: [PATCH] Uniq Scheme lists in C
Signed-off-by: Dmitry Bogatov
---
doc/ref/api-utility.texi | 29 ++-
libguile/Makefile.am | 4 +++
libguile/init.c | 2 ++
libguile/uniq.c
Documentation for vectors says:
Like lists, vectors have to be quoted:
Altho:
(define foo #((+ 1 2) 2))
(eq? foo (eval foo (current-module))) ;; #t
Am I missing something, or documentation is not in sync with current
state of art?
--
Best regards, Dmitry Bogatov ,
Free
t; $3 = ((arity 0 0 #f) (name . foo) (foo . bar) (baz . qux))
It is intresting, but just now I see no use for it. In face, it seems my
Guile saves less information about function, that your:
$2 = ((name . foo) (foo . bar) (baz . qux))
As you can see, I am missing arity. Is it git patch?
-
ted, rather than
> compiled. Or something is being interpreted, anyway. Check that you
> have auto-compilation on.
Thanks! It reduced time from 4 sec to 0.4.
--
Best regards, Dmitry Bogatov ,
Free Software supporter and netiquette guardian.
git clone git://kaction.name/rc-files.git
orm-action
---
Sample count: 347
Total time: 4.218837499 seconds (0.176613742 seconds in GC)
--
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
Tarball of doctest sources
--
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.
pgph69FiC4WS4.pgp
Description: PGP signature
tch var (pattern exp ...))) list])))
PS. Please, keep in CC, I am not subscribed.
--
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
tation? Is it any workaround?
>
> Section '3.4.7 Example 2: A Shared Persistent Variable' is probably what you
> want?
Yes, although it is a bit too verbose.
(define (foo x)
(let ((a 2))
(+ a x0)))
is enough for my puroses, although solution about define-values se
.
--
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.
pgp3VBKJa41ZR.pgp
Description: PGP signature
init-query+))
(error "Failed to initialize database table")))
(define db-obj (dbi-open "sqlite3" "my-example-db"))
(dbi-query db-obj "create table hellotable(id int, name varchar(15))")
(display db-obj) (newline)
(dbi-close db-obj)
(display db-obj) (newline
22 matches
Mail list logo