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
Merge requests
!1
Typofix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Typofix
wip/typos
into
master
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
Gabor Greif
requested to merge
wip/typos
into
master
6 years ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 1
479be5a1
6 years ago
master (base)
and
latest version
latest version
44bff05d
1 commit,
6 years ago
version 1
479be5a1
1 commit,
6 years ago
1 file
+
1
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
parallel/transclos/Main.hs
+
1
−
2
Options
@@ -76,7 +76,7 @@ main = do
let
zs
=
Data
.
Set
.
toList
$
{- take n $ -}
transcl_set
rel_set
(
Data
.
Set
.
fromList
seeds
)
-- set-based with 1-to-n rel
#
else
let
zs
=
{- take n $ -}
transcl
rel_list
seeds
-- default: seq, circular, with a 1-to-n list-based relation
-- unused verions
-- unused ver
s
ions
-- let zs = {- take n $ -} transcl_dup rel_one seeds -- no elim of duplicates; good parallelism but stupid
-- let zs = {- take n $ -} transcl_simp rel_one seeds -- list-based with 1-to-1 rel
#
endif
@@ -120,4 +120,3 @@ nfib :: Int -> Int
nfib
0
=
1
nfib
1
=
1
nfib
n
=
nfib
(
n
-
1
)
+
nfib
(
n
-
2
)
+
1
Loading