simpleSwapFun: simple swap fun

Description Usage Arguments Value Examples

Description

this function is proforms the same role of stringToSwap, but the even and odd strings are reversed.

Usage

1

Arguments

char

input string

Value

a function mapping the odd values of x to the even

Examples

1
simpleSwapFun("a b c d")("a")=="b"

alexjgriffith/CCCA documentation built on May 10, 2019, 8:52 a.m.