packages feed

thrift-compiler-0.1.0.1: tests/if/enum.thrift

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.
 */

enum UnsortedEnum {
  G = 7,
  A = 1,
  D = 4,
  E = 5,
  C = 3,
  B = 2,
}

enum EnumWithNounknown {
  U = 0,
  V = 1,
} (hs.nounknown)

enum PerfectEnum {
  W = 0,
  X = 1,
  Y = 2,
  Z = 3,
}