Concept:
Type checking
Headline
Verification of programs or parts thereof to be of the right types
Illustration
A programming language implementation may perform type checking at compile time or prior to interpretation or during run time. Consider, for example, the following function for incrementing ints in Haskell which favors compile-time type checking (or type checking prior to interpretation):
inc :: Int -> Int
inc x = x + 1
This function type-checks because the function definition is in compliance with the stated type signature. Now assume that the function signature would have been instead this one:
inc :: Int -> Bool
inc x = x + 1
Obviously, type checking would be bound to fail on this example, as the result type of the function is Int rather than Bool.
There are no revisions for this page.
User contributions
User edits
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.