Skip to content
Snippets Groups Projects
Verified Commit 854208b1 authored by Moritz Angermann's avatar Moritz Angermann
Browse files

add indentation

parent 69ff1b22
No related branches found
No related tags found
No related merge requests found
Pipeline #32891 passed
......@@ -41,14 +41,14 @@ clearBuf (Buf _ lB pB) = Buf 0 lB pB
main = allocaArray 82 $ \ line ->
let go !buf = do
!m <- hGetBuf stdin line 82
if m == 0 then revcomp buf else do
findChar line m (c2w '>')
(putBuf line m buf go)
(\ end -> do
putBuf line end buf revcomp
putBuf (line +* end) (m - end) (clearBuf buf)
go)
!m <- hGetBuf stdin line 82
if m == 0 then revcomp buf else do
findChar line m (c2w '>')
(putBuf line m buf go)
(\ end -> do
putBuf line end buf revcomp
putBuf (line +* end) (m - end) (clearBuf buf)
go)
in withBuf go
(+*) = advancePtr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment