view reverse/reverse.mal @ 3:de61daddf5ab

Updated copyrights and code, added comments, extended tutorial.
author Sjoerd Mullender <sjoerd@acm.org>
date Fri, 08 May 2015 12:40:55 +0200 (2015-05-08)
parents a1080ed7fe4d
children 38931ec299f8
line wrap: on
line source
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0.  If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright 2008-2015 MonetDB B.V.

module reverse;

command reverse(ra1:str):str
address UDFreverse
comment "Reverse a string";

module batreverse;

command reverse(b:bat[:oid,:str]):bat[:oid,:str]
address UDFBATreverse
comment "Reverse a BAT of strings";