You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 regels
707 B

  1. -record(fmtSpec, {
  2. ctlChar :: char() %% 控制序列的类型 $p $w
  3. , args :: [any()] %% 是控制序列使用的参数的列表,如果控制序列不带任何参数,则为空列表。
  4. , width :: 'none' | integer() %% 字段宽度
  5. , adjust :: 'left' | 'right' %% 对齐方式
  6. , precision :: 'none' | integer() %% 打印参数的精度
  7. , padChar :: char() %% 填充字符
  8. , encoding :: 'unicode' | 'latin1' %% 如果存在翻译修饰符t,则编码设置为true
  9. , strings :: boolean() %% 如果存在修饰符l,则将 string设置为false。
  10. }).