-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Mosh Scheme to 0.2.8 RC7 (#64)
* Specify mosh version in prelude * Updated mosh_comp and Mosh-prelude for Mosh 0.2.8
- Loading branch information
Showing
2 changed files
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
(import (rnrs) (rnrs mutable-pairs) (rnrs mutable-strings) (rnrs io simple) (srfi :19) (rnrs r5rs (6))) | ||
(define (current-second) | ||
(let ((d (current-date))) | ||
(+ (* 60 60 (date-hour d)) | ||
(* 60 (date-minute d)) | ||
(date-second d)))) | ||
(define (current-jiffy) | ||
(+ (current-second) (/ (date-nanosecond (current-date)) 1000000000))) | ||
(define (jiffies-per-second) | ||
1) | ||
(import (mosh config)) | ||
(define (this-scheme-implementation-name) | ||
(string-append "mosh-" "unknown")) | ||
(string-append "mosh-" (get-config "version"))) |