...
 
Commits (3)
......@@ -85,33 +85,26 @@ wiredtiger **does not work on 32 bits architectures**.
It was tested with wiredtiger `2.9.1`.
On guix you can simply install wiredtiger with:
Using guix, you can simply install wiredtiger with:
```
guix package -i wiredtiger
guix package -i guile-wiredtiger
```
Otherwise I recommend to install it from git with the usual cli dance:
```
git clone https://github.com/wiredtiger/wiredtiger.git
cd wiredtiger
./autogen.sh && ./configure && make && make install
```
## How to contribute
And then clone `guile-wiredtiger`:
Send me a [mail](mailto:amirouche@hypermove.net).
```
git clone git@git.framasoft.org:a-guile-mind/guile-wiredtiger.git
```
## ChangeLog
You also need version **2.2** of [GNU Guile](https://www.gnu.org/software/guile/)
- 0.6.3 (2018/01)
## How to contribute
- Fix `make distcheck` and `guix.scm`
- PROC in `(call-with-cursor name proc)` can return multiple values
Send me a [mail](mailto:amirouche@hypermove.net).
- 0.6.2 (2017/11)
## ChangeLog
- Add autotools (thx to Kristofer Buffington)
- 0.6.1 (2017/05)
......@@ -436,8 +429,8 @@ Several procedure take declarative specification of tables in
`wiredtigerz` called `CONFIG`. The syntax of this configuration list
is the following:
```scheme
(table-name
```scheme
(table-name
(key assoc as (column-name . column-type))
(value assoc as (column-name . column-type)) ((list indices as
(indexed-name (indexed keys) (projections column name)))))
......@@ -463,10 +456,10 @@ with a projection on `uid` column will look like the following:
You can create a table with indices using `session-create*`:
```scheme
```scheme
(define connection (connection-open "/tmp/wiredtigerz" "create"))
(define session (session-open connection))
(session-create* session posts)
(define session (session-open connection))
(session-create* session posts)
(session-close session)
```
......@@ -475,9 +468,9 @@ You can create a table with indices using `session-create*`:
`cursor-open*` will open all the cursors related to a given `CONFIGS`
as an assoc:
```scheme
```scheme
(define connection (connection-open "/tmp/wt" "create"))
(define sessionn (session-open connection))
(define sessionn (session-open connection))
(define cursors (cursor-open* session posts))
```
......@@ -696,7 +689,7 @@ This is similar to stream module except it's faster and you can backtrack.
* `traversi-unique`
* `traversi-group-count`
`traversi` framework can be used outside `grf3` library if you'd want.
`traversi` framework can be used outside `grf3` library if you'd want.
There is a few helpers made to make it easier to work with both `grf3` and `traversi`.
......
......@@ -40,7 +40,7 @@
(source (local-file %source-dir #:recursive? #t #:select? git-file?))
(build-system gnu-build-system)
(arguments
'(#:parallel-build? #f ;; the tests can not be run in parallel
'(#:parallel-tests? #f ;; the tests can not be run in parallel
#:configure-flags
(list (string-append "--with-libwiredtiger-prefix="
(assoc-ref %build-inputs "wiredtiger")))
......
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......@@ -72,5 +72,3 @@
(call-with-output-string
(lambda (port)
(html->text (html->sxml string) port))))
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......@@ -36,7 +36,7 @@
;; Mutation is not done in place, via set-field or set-fields eg.:
;;
;; (define smart-for-4 (set-field smart (seats) 4))
;;
;;
(define-syntax define-record-type*
(lambda (x)
......@@ -62,4 +62,3 @@
(export define-record-type*)
(re-export set-record-type-printer!)
(re-export set-field)
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche@hypermove.net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......
;; guile-wiredtiger
;; Copyright © 2014-2017 Amirouche BOUBEKKI <amirouche at hypermove net>
;; Copyright © 2014-2018 Amirouche BOUBEKKI <amirouche at hypermove net>
;; guile-wiredtiger is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
......