<commit_before>package spire.algebra

import scala.{ specialized => spec }

/**
 * A (left) semigroup/monoid/group action of `G` on `P` is simply the implementation of
 * a method `actl(g, p)`, or `g +> p` in additive notation, such that:
 * 
 * 1. `(g |+| h) +> p === g +> (h +> p)` for all `g`, `h` in `G` and `p` in `P`.
 * 
 * 2. `id +> p === p` for all `p` in `P` (if `id` is defined)
 */
trait Action[@spec(Int) P, G] extends Any {
  def actl(g: G, p: P): P
  def actr(p: P, g: G): P<commit_msg>Corrected typo in Action laws.<commit_after>package spire.algebra

import scala.{ specialized => spec }

/**
 * A (left) semigroup/monoid/group action of `G` on `P` is simply the implementation of
 * a method `actl(g, p)`, or `g +> p` in additive notation, such that:
 * 
 * 1. `(g |+| h) |+|> p === g |+|> (h |+|> p)` for all `g`, `h` in `G` and `p` in `P`.
 * 
 * 2. `id |+|> p === p` for all `p` in `P` (if `id` is defined)
 */
trait Action[@spec(Int) P, G] extends Any {
  def actl(g: G, p: P): P
  def actr(p: P, g: G): P
{'fraction_non_alphanumeric': 0.21518987341772153, 'fraction_numerical': 0.0038948393378773127, 'mean_word_length': 3.1451612903225805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1361360', 'n_tokens_mistral': 444, 'n_tokens_neox': 424, 'n_words': 161}