@informalsystems/quint
Version:
Core tool for the Quint specification language
12 lines (11 loc) • 377 B
TypeScript
import { Effect, Entity } from './base';
export declare function simplify(e: Effect): Effect;
/**
* Transforms entities of form [x, [y, z]] into [x, y, z]
*
* @param entity the entity to be transformed
*
* @returns the flattened form of union if a union.
* Otherwise, the entity without change.
*/
export declare function flattenUnions(entity: Entity): Entity;