# Transpose a pattern down

How do you transpose a pattern down? I am aware of this to transpose up:

```
fmap (+12)
```

But this does not work:

```
fmap (-12)
```

Transpose a pattern down

How do you transpose a pattern down? I am aware of this to transpose up:

```
fmap (+12)
```

But this does not work:

```
fmap (-12)
```

add a comment

3

You'll need to wrap the minus sign in parentheses, like so:

fmap ((-)12)

It's because -12 is seen as a number, so you need to transform minus into a prefix function via (-) so it basically becomes a function (-) 12 that takes an argument (and since you're using fmap, it maps over the functor you're giving it).

Asked: **
2016-07-19 20:56:28 -0500
**

Seen: **132 times**

Last updated: **Jul 19 '16**

Copyright TidalCycles, 2016 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.