Skip to content

Commit 1effd10

Browse files
committed
Finalize release 2.0.2.
1 parent 0951c88 commit 1effd10

File tree

6 files changed

+24
-8
lines changed

6 files changed

+24
-8
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.0.2 (2021-08-08)
4+
5+
- Fixed serious bug in procedure `load` (previously, `load` always returned no result instead of the result of the last executed expression).
6+
- Included new libraries: `(srfi 215)`, `(srfi 216)`, `(srfi 222)`, `(lispkit text-table)`
7+
- Extended sample code `Math.scm`
8+
39
## 2.0.1 (2021-07-02)
410

511
- New procedures in library `(lispkit draw)`: `bitmap->bytevector`, `bitmap-blur`, `bitmap-crop`

Diff for: LispKit.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -4200,7 +4200,7 @@
42004200
"@executable_path/../Frameworks",
42014201
"@loader_path/Frameworks",
42024202
);
4203-
MARKETING_VERSION = 2.0.1;
4203+
MARKETING_VERSION = 2.0.2;
42044204
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
42054205
MTL_FAST_MATH = YES;
42064206
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKitTools;
@@ -4236,7 +4236,7 @@
42364236
"@executable_path/../Frameworks",
42374237
"@loader_path/Frameworks",
42384238
);
4239-
MARKETING_VERSION = 2.0.1;
4239+
MARKETING_VERSION = 2.0.2;
42404240
MTL_FAST_MATH = YES;
42414241
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKitTools;
42424242
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
@@ -4482,7 +4482,7 @@
44824482
"@executable_path/Frameworks",
44834483
"@loader_path/Frameworks",
44844484
);
4485-
MARKETING_VERSION = 2.0.1;
4485+
MARKETING_VERSION = 2.0.2;
44864486
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
44874487
MTL_FAST_MATH = YES;
44884488
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKit;
@@ -4522,7 +4522,7 @@
45224522
"@executable_path/Frameworks",
45234523
"@loader_path/Frameworks",
45244524
);
4525-
MARKETING_VERSION = 2.0.1;
4525+
MARKETING_VERSION = 2.0.2;
45264526
MTL_FAST_MATH = YES;
45274527
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKit;
45284528
PRODUCT_NAME = LispKit;

Diff for: Sources/LispKit/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.0.1</string>
20+
<string>2.0.2</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

Diff for: Sources/LispKit/Resources/Examples/Math.scm

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,22 @@
3838
((zero? (remainder n d)) #f)
3939
(else (loop (+ d 2))))))))
4040

41-
;; Returns the `n`-th Fibonacci number
41+
;; Returns the `n`-th Fibonacci number.
4242
(define (fib n)
4343
(if (fx< n 2)
4444
n
4545
(fx+ (fib (fx1- n)) (fib (fx- n 2)))))
4646

47+
;; Returns the `n`-th Fibonacci number via a tail-recursive algorithm.
48+
(define (fast-fib n)
49+
(define (iter n a b)
50+
(if (fx< n 3)
51+
b
52+
(iter (fx1- n) b (fx+ a b))))
53+
(if (fx< n 2)
54+
n
55+
(iter n 1 1)))
56+
4757
;; Returns the factorial of integer `n`
4858
(define (fac n)
4959
(if (= n 0)

Diff for: Sources/LispKitRepl/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ guard repl.flagsValid() else {
3636
if repl.shouldRunRepl() {
3737
#if SPM
3838
guard repl.configurationSuccessfull(implementationName: "LispKit",
39-
implementationVersion: "2.0.1",
39+
implementationVersion: "2.0.2",
4040
includeInternalResources: false,
4141
defaultDocDirectory: "LispKit",
4242
features: features) else {

Diff for: Tests/LispKitTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.1</string>
18+
<string>2.0.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)