mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-09-12 06:28:31 +02:00
1.4 KiB
1.4 KiB
Spin
Electron spin
Type
<<<~Spin.t~>>>
type t = Alfa | Beta
Note :
Alfa
if written with an 'f' instead of 'ph' because it has the same number of
letters as Beta
, so the alignment of the code is nicer.
Functions
val other : t -> t
Returns the opposite spin
Printers
val pp : Format.formatter -> t -> unit