aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-10-04 15:01:09 +0100
committerArun Isaac2024-10-04 16:56:03 +0100
commit4684aa83a64bbd2acf2f8c861d897f2c7c6ce135 (patch)
tree3559263464897634341ffd83a10d8ac574f2569e
parent618fcf35d69cfc0cbeaf50dd2229697cb09a1c9c (diff)
downloadravanan-4684aa83a64bbd2acf2f8c861d897f2c7c6ce135.tar.gz
ravanan-4684aa83a64bbd2acf2f8c861d897f2c7c6ce135.tar.lz
ravanan-4684aa83a64bbd2acf2f8c861d897f2c7c6ce135.zip
monads: Use write, not display, to print Just values.
* ravanan/work/monads.scm (<maybe>): Use write, not display, to print Just values.
-rw-r--r--ravanan/work/monads.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ravanan/work/monads.scm b/ravanan/work/monads.scm
index 7a2cb11..ccb000b 100644
--- a/ravanan/work/monads.scm
+++ b/ravanan/work/monads.scm
@@ -65,7 +65,7 @@
(if (maybe-valid? record)
(begin
(display "[Just " port)
- (display (maybe-value record) port)
+ (write (maybe-value record) port)
(display "]" port))
(display "Nothing" port))))