From 50f36fa5c341fcddee9af7e44bab1dde373c9524 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 8 Dec 2021 16:38:31 +0100 Subject: [PATCH] new alias --- lib/dictionary.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dictionary.rb b/lib/dictionary.rb index d66c3ca..528f594 100644 --- a/lib/dictionary.rb +++ b/lib/dictionary.rb @@ -148,6 +148,7 @@ module Rpl add( 'sto+', proc { |stack, dictionary| Rpl::Lang::Core.sto_add( stack, dictionary ) } ) add( 'sto-', proc { |stack, dictionary| Rpl::Lang::Core.sto_subtract( stack, dictionary ) } ) add( 'sto*', proc { |stack, dictionary| Rpl::Lang::Core.sto_multiply( stack, dictionary ) } ) + add( 'sto×', proc { |stack, dictionary| Rpl::Lang::Core.sto_multiply( stack, dictionary ) } ) # alias add( 'sto/', proc { |stack, dictionary| Rpl::Lang::Core.sto_divide( stack, dictionary ) } ) add( 'sto÷', proc { |stack, dictionary| Rpl::Lang::Core.sto_divide( stack, dictionary ) } ) # alias add( 'sneg', proc { |stack, dictionary| Rpl::Lang::Core.sto_negate( stack, dictionary ) } )