mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
fix: close status for empty
This commit is contained in:
@@ -162,7 +162,7 @@ instance : Writer Full where
|
||||
instance : Writer Empty where
|
||||
send _ _ _ := throw <| .userError "cannot send"
|
||||
close _ := pure ()
|
||||
isClosed _ := pure false
|
||||
isClosed _ := pure true
|
||||
hasInterest _ := pure false
|
||||
getKnownSize _ := pure (some (.fixed 0))
|
||||
setKnownSize _ _ := pure ()
|
||||
|
||||
Reference in New Issue
Block a user