Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ariangganugraha-funpro2020-lambda
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ari Angga Nugraha
ariangganugraha-funpro2020-lambda
Commits
63a45a18
Commit
63a45a18
authored
8 years ago
by
Sean Gillespie
Browse files
Options
Downloads
Patches
Plain Diff
Update system-f.md--the introduction
parent
44f8234a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/system-f.md
+9
-8
9 additions, 8 deletions
doc/system-f.md
with
9 additions
and
8 deletions
doc/system-f.md
+
9
−
8
View file @
63a45a18
# Introduction
Pure
λ
can easily be extended with a static type system. We
explore
two such systems, the
*Simply Typed Lambda Calculus*
and
*System F*
.
The
Simply Typed Lambda Calculus, abbreviated as
λ
<sub>
→
</sub>
is
the simplest typed
λ
.
*System F*
is an extension of
The Lambda Calculus
can easily be extended with a static type system. We
explore
two such systems, the
*Simply Typed Lambda Calculus*
and
*System F*
.
The
Simply Typed Lambda Calculus, abbreviated as
λ
<sub>
→
</sub>
is
the simplest typed
λ
.
*System F*
is an extension of
λ
<sub>
→
</sub>
that introduces the concept of generic types, also
called polymorphic types [1].
In general, type systems aim to eliminate certain programming errors [3]. A good
type system should reject ill-typed programs, while accepting most valid programs
[2]. Many functional programming languages are based on type systems similar
to System F, including Haskell (System FC [4]), and ML (Hindley-Milner [5]).
In general, type systems aim to eliminate certain programming errors [3]. A
good type system should reject ill-typed programs, while accepting most valid
programs [2]. Many functional programming languages are based on type systems
similar to System F, including Haskell (System FC [4]), and ML (Hindley-Milner
[5]).
# Type Context
A typing context is a sequence mapping free variables to their types [2]. Given
...
...
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