Skip to content

Commit 652b447

Browse files
committed
fix sample code in comment
1 parent 31c1149 commit 652b447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DAP/Adaptor.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ registerNewDebugSession
156156
-- used when sending events to the editor from the debugger (or from any forked thread).
157157
--
158158
-- >
159-
-- > registerNewDebugSession sessionId appState $ loadDebugger : \withAdaptor ->
159+
-- > registerNewDebugSession sessionId appState $ loadDebugger : [\withAdaptor ->
160160
-- > forever $ getDebuggerOutput >>= \output -> do
161161
-- > withAdaptor $ sendOutputEvent defaultOutputEvent { outputEventOutput = output }
162-
-- >
162+
-- > ]
163163
--
164164
-> Adaptor app ()
165165
registerNewDebugSession k v debuggerConcurrentActions = do

0 commit comments

Comments
 (0)