OCaml Forge
SCM

Detail: [#1258] concat function

Patches: Browse | Download .csv | Monitor

[#1258] concat function

Date:
2013-02-21 02:42
Priority:
3
State:
Open
Submitted by:
Fabian Pijcke (shepard)
Assigned to:
Nobody (None)
Resolution:
None
Version:
None
Component:
None
 
Summary:
concat function

Detailed description
The concat function allows one to concatenate two strings.

I lacked this functionality as the default value for one of my columns was:

'generated_' || currval('some_sequence')

where || is the concatenation operator.

I implemented the concat operator as a poly operator. Usage example:

<:value< concat "foo" "bar" >>

This is my very first patch, please tell me if I did anything in a wrong manner :-)

Followup

No Followups Have Been Posted

Attached Files:

Attachments:
concat.patch

Changes:

Field Old Value Date By
File Added204: concat.patch2013-02-21 02:42shepard