# Generalized Argument Removal - SPECIALIZE:RELAX

**URL:** <https://revolt.metaeducation.com/forum/t/generalized-argument-removal-specialize-relax/2297>\
**Category:** Functions\
**Created:** [September 23, 2024, 5:37pm UTC](https://revolt.metaeducation.com/forum/t/generalized-argument-removal-specialize-relax/2297 "2024-09-23T17:37:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bradrn](https://revolt.metaeducation.com/forum/user_avatar/revolt.metaeducation.com/bradrn/32/365_2.png) [@bradrn](https://revolt.metaeducation.com/forum/u/bradrn)\
**Post date:** [September 24, 2024, 1:19am UTC](https://revolt.metaeducation.com/forum/t/generalized-argument-removal-specialize-relax/2297/2 "2024-09-24T01:19:43Z")

</div>

Not to deny the utility of this SPECIALISE:RELAX, but this feels like a job for [partial application](https://revolt.metaeducation.com/forum/t/shorthand-interface-and-symbol-name-for-pointfree/2263/2):

```plaintext
append-random: partial [append _ (random 10)]

```

…well, it would need to make sure the `random 10` is run on every function evaluation rather than just once when the function is constructed. But these details can be worked out.

(In Haskell that ‘just works’ thanks to laziness and chucking side-effects into monads. But of course Revolt doesn’t have either.)

---

_[View the full topic](https://revolt.metaeducation.com/forum/t/generalized-argument-removal-specialize-relax/2297)._
