-
Notifications
You must be signed in to change notification settings - Fork 3
/
packages.lisp
101 lines (95 loc) · 1.85 KB
/
packages.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
;;
;; Copyright (c) 2005-2012 Gigamonkeys Consulting All rights reserved.
;;
(in-package :cl-user)
(defpackage :com.gigamonkeys.utilities
(:use :cl :split-sequence :alexandria)
;; These are also defined in alexandria. At some point should use
;; theirs but they aren't exactly the same so that requires finding
;; all the places I use them.
(:shadow :copy-file :with-output-to-file)
(:export
:!
:copy-file
:dump-file
:file->list
:file->lines
:file->sexp
:make-heap
:heap>
:heap-pop
:heap-peek
:heap-push
:hh-mm-ss
:hh-mm
:human-time
:empty-heap
:file-text
:file-char-length
:file-bytes
:with-time
:with-current-time
:with-slot-values
:with-output-to-file
:with-data-io-syntax
:with-data-to-file
:with-lock-file
:weekday-p
:lisp-time-zone
:iso-8601-time-zone
:format-iso-8601-time
:parse-iso-8601-time
:make-time
:merge-time
:month-name
:day
:day-name
:parse-date-string
:reverse-translate-zone
:random-selection
:now
:unix-time
:mklist
:unlist
:destructuring-data
:&zone
:date/time->utc
:time->utc
;;:make-timer
;;:shutdown-timer
;;:schedule-event
;;:cancel-event
:shuffle-vector
:shuffle-list
:nshuffle-vector
:date
:make-date
:year
:month
:date<
:date<=
:date=
:date+
:date-
:date>
:date>=
:today
:yyyy-mm-dd
:date->utc
:midnight
:day-of-week
:leap-year-p
:days-in-month
:tomorrow
:yesterday
:next-year
:this-year
:days-between
:next-day
:parse-time
:round-to
:round-to-unit-fraction
:keywordize)
;; Re-export inherited symbols -- too lazy to type them all.
(:export . #.(loop for sym being the external-symbols of :split-sequence collect sym))
(:export . #.(loop for sym being the external-symbols of :alexandria collect sym)))