From 8d2e0b092b77b4fbb22184a9eba0d75d1ddc3721 Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Tue, 9 Jun 2020 15:53:29 +0200 Subject: [PATCH] Added gamma function. --- kalk_cli/src/repl.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kalk_cli/src/repl.rs b/kalk_cli/src/repl.rs index fd06adf..9aff064 100644 --- a/kalk_cli/src/repl.rs +++ b/kalk_cli/src/repl.rs @@ -89,12 +89,13 @@ struct RLHelper { impl Helper for RLHelper {} const COMPLETION_FUNCS: phf::Map<&'static str, &'static str> = phf::phf_map! { - "sqrt" => "√", + "ceil" => "⌈⌉", "deg" => "°", "floor" => "⌊⌋", - "ceil" => "⌈⌉", - "(" => "()", + "gamma" => "Γ", "sum" => "Σ()", + "sqrt" => "√", + "(" => "()", }; impl Completer for RLHelper {