Post History
#2: Post edited
# [Husk], 2 bytes±E[Try it online!][TIO-ks7k59yx][Husk]: https://github.com/barbuz/Husk[TIO-ks7k59yx]: https://tio.run/##yygtzv6f@6ip8f@hja7///@PjjbUgcJYnWgDMMtMxxzINoyNBQA "Husk – Try It Online"I wasn't sure if I needed to label this as a trivial builtiin answer, since there's two commands. Let me know if this doesn't count as a nontrivial answer.```±EE If all elements are equal, length of list. Else 0± Signum```
- # Trivial answers
- ## [Husk], 1 byte
- E
- [Try it online!][TIO-ks91up8r]
- [Husk]: https://github.com/barbuz/Husk
- [TIO-ks91up8r]: https://tio.run/##yygtzv6f@6ip8b/r////o6MNdaAwVifaAMwy0zEHsg1jYwE "Husk – Try It Online"
#1: Initial revision
# [Husk], 2 bytes ±E [Try it online!][TIO-ks7k59yx] [Husk]: https://github.com/barbuz/Husk [TIO-ks7k59yx]: https://tio.run/##yygtzv6f@6ip8f@hja7///@PjjbUgcJYnWgDMMtMxxzINoyNBQA "Husk – Try It Online" I wasn't sure if I needed to label this as a trivial builtiin answer, since there's two commands. Let me know if this doesn't count as a nontrivial answer. ``` ±E E If all elements are equal, length of list. Else 0 ± Signum ```