Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nofib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
nofib
Commits
854208b1
Verified
Commit
854208b1
authored
4 years ago
by
Moritz Angermann
Browse files
Options
Downloads
Patches
Plain Diff
add indentation
parent
69ff1b22
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#32891
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shootout/reverse-complement/Main.hs
+8
-8
8 additions, 8 deletions
shootout/reverse-complement/Main.hs
with
8 additions
and
8 deletions
shootout/reverse-complement/Main.hs
+
8
−
8
View file @
854208b1
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment