English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Module Abbreviations in MLI Files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-12-06 (18:25)
From: David McClain <dmcclain1@m...>
Subject: Module Abbreviations in MLI Files
I'm a bit rusty writing raw OCaml from scratch, and I ran into syntax errors
this morning whenever I tried to use Module abbreviations, such as

module T = Types

in my MLI files. These work just fine in ML files.

What is the reason for preventing type abbreviations in the interface spec?


- David McClain