mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
🔥 println.
This commit is contained in:
parent
45de2f56a6
commit
2e61978b98
@ -4,7 +4,6 @@ module Control.Effect.Readline
|
||||
Readline (..)
|
||||
, prompt
|
||||
, print
|
||||
, println
|
||||
-- * Re-exports
|
||||
, Carrier
|
||||
) where
|
||||
@ -29,6 +28,3 @@ prompt p = send (Prompt p (curry pure))
|
||||
|
||||
print :: (Carrier sig m, Member Readline sig) => Doc AnsiStyle -> m ()
|
||||
print s = send (Print s (pure ()))
|
||||
|
||||
println :: (Carrier sig m, Member Readline sig) => Doc AnsiStyle -> m ()
|
||||
println s = print s >> print "\n"
|
||||
|
Loading…
Reference in New Issue
Block a user