nat in the
Examples directory in the standard library.
An unckecked declaration is marked with a fat, red vertical bar. An error message is inserted as a comment before the first unckecked declaration. At present, when an erroneous declaration is encountered, all declarations after it are left unchecked too.
A limited set of editing commands,
Give, Paste & Delete, are
available inside unchecked declaration. There is also a command
Check Again that re-checks a declaration and possibly returns
it to the normal (checked) state.
-completions flag. In this mode, a
string entry field appears on top of a place holder when you
select it. In it, you can enter a name to refine with (more precisely,
any command that would be shown in the menu window in the normal
mode). The Space bar is used for completion
(e.g., filling in the remainender of a name if there is only one
possible alternative, or listing the possible alternatives).
You sometimes need to use the
Tab key to activate the string entry field.
View menu: Unfold goal types use
definitions to unfold applications in goal types as far as
possible. Don't unfold goal types does not unfold
applications. The former option usually unfolds more than
desirable, the latter less than desirable. A future version of
Alfa will give the user much finer control of the unfolding.
Give in English.
This uses Aarne
Ranta's natural languages parser. It has a limited vocabulary:
it understands some arithmetic and geometry. See
Ranta/REAMDE for further
information. The file Ranta/arithm.half contains some
definitions referred to by the parser output.
Evaluate Expressions window.
Click on the small dots.
(Set), (Type)) in the text
representation of expression.
let
expressions.
case, data,
struct and sig expressions). The
default layout can be selected from the View
menu. The layout of an individual expression can be changed by
selecting it and choosing a new layout from the menu window.
Layout options are not saved yet.
Hide expression in the menu window. Use the
Reveal hidden expression command to reveal the
expression again.
View option
Compact Notation is on, nested case expressions
are collapsed into single case expressions with nested patterns.
| Normal | Compact |
|---|---|
|
|
case expression by shift-clicking on a
variable. By clicking on a variable in a pattern you can
create a nested pattern.
Font Size... to the
View menu. It allows you to change the overall
size of the text in the editing window,
as with the command line option -fontsize,
without having to restart Alfa.
data
types and adding and deleting branches in existing
case expressions. This is
explained in the User's
Guide.
ND Style proofView menu
are. (There are still some minur bugs to fix. For example, the
settings in the View menu are not updated when a
new document is opened.)
Undo/Redo commands now undo and redo
all the effects of the New and Open...
commands. This means that Alfa shows the right file name in the
window title bar
and that the Save and Save As...
commands save the document to the right file.