# F(...) where {T..} really long, but cannot place 'where' in newline?

**URL:** <https://discourse.julialang.org/t/f-where-t-really-long-but-cannot-place-where-in-newline/4918>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 18, 2017, 9:17am UTC](https://discourse.julialang.org/t/f-where-t-really-long-but-cannot-place-where-in-newline/4918 "2017-07-18T09:17:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [July 18, 2017, 9:17am UTC](https://discourse.julialang.org/t/f-where-t-really-long-but-cannot-place-where-in-newline/4918/1 "2017-07-18T09:17:51Z")

</div>

I have a long function declaration,

```julia
function f(...) where {T...}
# function code
end

```

which takes a lot of arguments and type parameters. Maybe this is bad design or not, but that is not my question now. What I would like is to break this into several lines:

```julia
function f(...) 
where {T...}
# function code
...
end

```

however Julia complains about placing the `where` in its own line. Is there code-style guideline about what to do in these cases? I am already breaking up the arguments into different lines, but each argument has a complex type specification, so I would still like to place the `where` in its own line, or something similar.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [July 18, 2017, 9:42am UTC](https://discourse.julialang.org/t/f-where-t-really-long-but-cannot-place-where-in-newline/4918/2 "2017-07-18T09:42:06Z")

</div>

Parenthesis before `f` and after `T..} `.

---

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [July 18, 2017, 9:50am UTC](https://discourse.julialang.org/t/f-where-t-really-long-but-cannot-place-where-in-newline/4918/3 "2017-07-18T09:50:00Z")

</div>

Thanks. Almost after posting I realised that the following is also valid syntax:

```julia
function f(...) where
{T...}
# function code
...

```

that is, you can break the line just after the `where`.
