aboutsummaryrefslogtreecommitdiff
path: root/gn/util/convert.scm
diff options
context:
space:
mode:
authorPjotr Prins2023-11-18 12:33:22 +0100
committerPjotr Prins2023-11-18 12:33:22 +0100
commitb1db013cc01c94e27edf982be9b027a2b0bb9712 (patch)
tree9aa73c1c8bbff2f7659f229c08b395788c6f33ec /gn/util/convert.scm
parent06f941636a99904671c89916e17f28de4b2cd07e (diff)
downloadgn-guile-b1db013cc01c94e27edf982be9b027a2b0bb9712.tar.gz
Get first BXD dataset for precompute
Diffstat (limited to 'gn/util/convert.scm')
-rw-r--r--gn/util/convert.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gn/util/convert.scm b/gn/util/convert.scm
new file mode 100644
index 0000000..ff943e0
--- /dev/null
+++ b/gn/util/convert.scm
@@ -0,0 +1,14 @@
+(define-module (gn util convert)
+ #:use-module (json)
+ #:use-module (ice-9 match)
+ #:use-module (ice-9 format)
+ #:use-module (ice-9 iconv)
+ #:use-module (ice-9 receive)
+ #:use-module (ice-9 string-fun)
+
+ #:export (
+ int-to-string
+ ))
+
+(define (int-to-string i)
+ (format #f "~d" i))