Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 1.24 KB

type_inference.md

File metadata and controls

33 lines (22 loc) · 1.24 KB

Type inference

The Concept

Automatically inferring the type of an expression.

What to cover

  • What is type inference? Explain what type inference is.
  • How to use type inference How to use type inference in your language.
  • What restrictions are there? What restrictions are there?

Exercises

Lasagna cooking

This exercise deals with cooking a lasagna dish in the oven. The reference implementation (F#) teaches:

  • What type inference is.
  • The limitations of type inference.
  • How type inference can be used when defining variables.

Implementations

Track Exercise Changes
C# lucians-luscious-lasagna None
F# lucians-luscious-lasagna None
Scala basics None