Skip to content

Commit

Permalink
Fixup the system having incorrect manual refs and load issues in SBCL
Browse files Browse the repository at this point in the history
  • Loading branch information
mariari committed Mar 6, 2023
1 parent f8dbcc4 commit cb69f42
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/gui/graphing/package.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ ways that are intuitive to the user"

(pax:defsection @graphing-manual (:title "The GEB Graphizer")
"This section covers the GEB Graph representation"
(@grpahing-core pax:section)
(geb-gui.core:@graphing-core pax:section)
(@pass-manual pax:section))
1 change: 0 additions & 1 deletion src/lambda/package.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
(uiop:define-package #:geb.lambda.trans
(:documentation "A basic lambda translator into other parts of geb")
(:shadow #:to-poly #:to-circuit)
(:local-nicknames (#:lambda #:geb.lambda.main))
(:mix #:geb.lambda.spec #:geb.common #:common-lisp :geb.lambda.main)))

(in-package #:geb.lambda.trans)
Expand Down
20 changes: 15 additions & 5 deletions src/lambda/trans.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,28 @@
(geb:pair (compile-checked-term context lty l)
(compile-checked-term context rty r)))
((fst lty rty value)
(assert (geb.mixins:obj-equalp (class-of lty) (class-of type)) nil "Types should match on fst: ~A ~A"
term type)
(assert (geb.mixins:obj-equalp (class-of lty) (class-of type))
nil
"Types should match on fst: ~A ~A"
term
type)
(comp (<-left lty rty) (compile-checked-term context (prod lty rty) value)))
((snd lty rty value)
(assert (geb.mixins:obj-equalp (class-of rty) (class-of type)) nil "Types should match on fst: ~A ~A"
term type)
(assert (geb.mixins:obj-equalp (class-of rty) (class-of type))
nil
"Types should match on fst: ~A ~A"
term
type)
(comp (<-right lty rty) (compile-checked-term context (prod lty rty) value)))
((lamb vty tty term)
(curry (commutes-left
(compile-checked-term (cons vty context) tty term))))
((app dom com f x)
(assert (geb.mixins:obj-equalp dom type) nil "Types should match for application: ~A ~A" dom type)
(assert (geb.mixins:obj-equalp dom type)
nil
"Types should match for application: ~A ~A"
dom
type)
(comp
(so-eval dom com)
(geb:pair (compile-checked-term context dom f)
Expand Down

0 comments on commit cb69f42

Please sign in to comment.